Match a public task to an Ontario tool
ontario_task_fitFree task-to-tool matching with an optional Jev second opinion. With allow_typesafe=true, your public task and Ontario's public tool descriptions are sent to TypeSafe for Jev inference. Do not supply secrets, personal data, private URLs, or customer content. Ontario does not persist task text here. TypeSafe processing is subject to its policies; zero retention is not promised. Without consent, only Ontario's deterministic router is used. Returns a callable tool and input schema, or abstains. Never executes tools or authorizes payment. Model quota exhaustion falls back to deterministic routing.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| task | Yes | A public capability request, never private task content. | |
| network | No | Network permitted by the caller's wallet policy; Ontario paid tools require Base mainnet (eip155:8453). | eip155:8453 |
| max_usdc | No | Explicit owner-approved USDC ceiling; never inferred. | |
| allow_typesafe | No | With allow_typesafe=true, your public task and Ontario's public tool descriptions are sent to TypeSafe for Jev inference. Do not supply secrets, personal data, private URLs, or customer content. Ontario does not persist task text here. TypeSafe processing is subject to its policies; zero retention is not promised. Without consent, only Ontario's deterministic router is used. | |
| wallet_enabled | No | True only when the caller can locally sign an x402 payment; this flag does not authorize spending. | |
| free_preflight_complete | No | True only after the recommended free check has completed for this task. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| status | Yes | ||
| payment_authorized | Yes |