Rank tools for a task
rank_tools_for_taskRank 1-8 MCP candidates before paying any of them. Returns pick, fallbacks, and reasons. execute=caller: you call mcp_url and pay that server. A Down or stale probe is not callable. Sponsored does not change the score. With no own history, outcome_samples is 0 and the reason is INSUFFICIENT_HISTORY. REST without an API key costs $0.005 via x402. Pass policy_id from set_objective when you have one.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| task | Yes | What the caller is about to do. | |
| policy_id | No | policy_id from set_objective. Omit to use the default safety policy. | |
| candidates | Yes | Candidates the caller already has. Each needs id and https mcp_url. |