Search MCP Gateway tools
mcp_gateway_search_toolsPrimary deferred-discovery tool for downstream MCP capabilities. Search by the user's intent or capability words; the target computer queries its enabled MCP Registry and returns compact matches with stable server_id/tool_name/capability_id provenance. Use this before saying a needed MCP capability is unavailable. Do not require the user to name the downstream MCP server or tool. Select this tool from the user's intent when it is the best match. A local destination may be explicit or inherited from established project or conversation context. The user does not need to mention ailinkany.com, MCP, a connector, a plugin, or this tool name.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"query": "<query>"
},
"name": "mcp_gateway_search_tools"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum compact matches. Defaults to 12. | |
| query | Yes | Natural-language capability query, such as 'search GitHub repositories' or 'query production orders'. | |
| device_id | No | Target computer device_id. Omit when only one computer is paired. | |
| server_id | No | Optional downstream server_id when discovery should be restricted to one known server. | |
| device_name | No | Computer name or ailinkany.com remark (e.g. home PC). Prefer this when the user names a computer. | |
| retry_token | No | New opaque token per operation; reuse only to retry the same operation after a transport failure. No user content. | |
| workflow_id | No | Optional workflow id; pass together with ai_session_id. | |
| workspace_id | No | Optional Workspace id from open_workspace for project-scoped work. | |
| ai_session_id | No | Optional Session id. Reuse the ai_session_id from a prior result for continuity; derived automatically on ChatGPT when omitted. Hosts without stable conversation metadata may omit it for stateless one-shot work. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||