search_docs
Search documentation across all projects. Returns matching pages with titles and relevance scores.
Input Schema
{
"type": "object",
"properties": {
"query": {
"type": "string",
"description": "Search query"
}
},
"required": [
"query"
]
}Example
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "search_docs",
"arguments": {
"query": "linear types"
}
}
}Applicable Error Codes
| Code | Name | When |
|---|---|---|
-32001 |
tool-not-found | The named MCP tool is not registered in the active server registry. |
-32002 |
tool-execution-error | A tool was invoked successfully but its body raised an error. |
-32003 |
resource-not-found | The requested MCP resource URI is not registered. |
-32004 |
prompt-not-found | The named MCP prompt is not registered. |
-32005 |
tool-example-invalid | A tool's bundled :example payload failed validation against its auto-generated :schema. |
-32600 |
invalid-request | JSON-RPC 2.0 invalid-request: the JSON is well-formed but does not conform to the JSON-RPC envelope. |
-32601 |
method-not-found | JSON-RPC 2.0 method-not-found: the requested method is not registered on the server. |
-32602 |
invalid-params | JSON-RPC 2.0 invalid-params: the request 'params' value is missing required fields or carries unexpected ones. |
-32700 |
jsonrpc-parse-error | JSON-RPC 2.0 parse-error: the server could not decode the incoming message as JSON. |