search_clauses
Search the workspace's clause library (its own clauses and AppliFlo's starter clauses) by title and text, as Docs → Clauses does.
readOnly reads. Clients can run it without asking you.
What it does
Search the workspace's clause library (its own clauses and AppliFlo's starter clauses) by title and text, as Docs → Clauses does. Returns up to 50 clauses with clause_id, title, category, a preview, version, whether it was reviewed and whether it is an AppliFlo starter (system). Put one in a Doc with insert_clause. For people only: an API key is refused, as on the web.
Inputs
| Name | Type | Description |
|---|---|---|
query | string | Words from the clause, e.g. "refund". Leave out to list them all.Up to 200 characters |
category | string | Only this category.One of: fees, refunds, privacy, termination, immigration, general |
Call it
Your MCP client builds this request for you. This is what it sends to https://appliflo.com/api/mcp, with the required inputs filled with placeholders.
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "search_clauses",
"arguments": {}
}
}Input schema
The JSON Schema the server lists for this tool in tools/list.
{
"type": "object",
"properties": {
"query": {
"type": "string",
"maxLength": 200,
"description": "Words from the clause, e.g. \"refund\". Leave out to list them all."
},
"category": {
"type": "string",
"enum": [
"fees",
"refunds",
"privacy",
"termination",
"immigration",
"general"
],
"description": "Only this category."
}
},
"additionalProperties": false
}