prefer_tool
Set a preferred catalog tool to be used when it falls within a capability margin of other candidates; ambiguous input returns candidates for the user to choose.
Instructions
Favour a catalog tool: served whenever acceptable and within margin of the best on
capability ("I like Kagi, use it when it's acceptable"). tool: the user's wording; ambiguous →
candidates come back: ask the user, never pick. margin: default 0.10 (0–1 scale); wider for
"unless much better", narrower for "only if about as good". note: their wording. A failed
must-have still excludes it.
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": {
"tool": "<tool>"
},
"name": "prefer_tool"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | ||
| tool | Yes | ||
| margin | No | ||
| project_id | No |