10 tools registered. Strongest in shared experience, weakest in tool selection.
{ name: "gateway_task" /* short, unique, verb-based */ }gateway_task: description instructs agent how to behave and what to output; gateway_capabilities: description instructs agent on tool preference and when to stop; gateway_find_tool: description instructs agent on tool usage and workflow; gateway_call_tool: description instructs agent on tool usage and what to avoid{
name: "gateway_task",
// Metadata DESCRIBES the tool - it never addresses the agent reading it.
// Rewrite any name, description, title, or schema field description that
// instructs the agent (which tool to prefer, what to output, rules to
// ignore) so it states what the tool does and what it returns instead.
description: "Searches the catalog and returns matching items with prices."
}{
"name": "gateway_task",
"description": "Default tool for read-only requests. Pass the user's goal largely as written, including any website URL. The gateway selects the workflow, searches, filters, ranks, and verifies results. If agent_action=\"answer\", stop using tools for further discovery. When presentation.action=\"open_result\" and a browser is available, open presentation.url once for final inspection, then answer; otherwise answer directly. Example: gateway_task({ goal: \"Find the cheapest green men's sweater on tentree.com\" }).",
"inputSchema": {
"type": "object",
"properties": {
"goal": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"description": "The user's normal-language read-only request; pass it mostly as written."
},
"site": {
"type": "string",
"minLength": 3,
"maxLength": 300,
"description": "Optional public site URL or domain; a URL in goal is also extracted automatically."
},
"response_format": {
"type": "string",
"enum": [
"concise",
"detailed"
],
"description": "Optional response size; concise is the default."
}
},
"required": [
"goal"
],
"additionalProperties": false
},
"annotations": {
"readOnlyHint": true
}
}{ name: "gateway_task" /* short, unique, verb-based */ }jobs_get_listing: listing, user, submitted; rentals_get_listing: listing, user{ name: "jobs_get_listing", annotations: { untrustedContentHint: true } }gateway_task: description instructs agent how to behave and what to output; gateway_capabilities: description instructs agent on tool preference and when to stop; gateway_find_tool: description instructs agent on tool usage and workflow; gateway_call_tool: description instructs agent on tool usage and what to avoid{
name: "gateway_task",
// Metadata DESCRIBES the tool - it never addresses the agent reading it.
// Rewrite any name, description, title, or schema field description that
// instructs the agent (which tool to prefer, what to output, rules to
// ignore) so it states what the tool does and what it returns instead.
description: "Searches the catalog and returns matching items with prices."
}{
"query": "carry-on suitcase",
"max_price": 300
}{}{}