Apiosk plan
apiosk_planTurn a research goal that needs several API calls into ONE plan with ONE price ceiling: the steps in the order they run, which of them the plan can and cannot reach, and a signed plan_token that authorises exactly this version. Use it when the answer needs more than one call — a lookup whose result feeds a second call, or several facts about the same company — and use apiosk_discover plus apiosk_execute when a single call will do. Pass the user's question directly; the Gateway shares the App's reader and asks for missing context. Supply intent only when you already have a structured goal with known subjects and required fact types. The gateway compiles it, shares a lookup two branches both need instead of buying it twice, and prices the whole plan once. Where this host can ask, the user is shown the plan and its one price and answers Approve or Deny here; read that answer instead of asking again. Nothing is reserved and nothing is called: this tool spends nothing, and only apiosk_execute_plan starts the work.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| intent | No | The goal as the gateway plans in: what the answer is about, and which facts it must contain. Passed through untouched. | |
| question | Yes | The goal in the user's own words, including the company and information needed. The Gateway interprets it when intent is omitted and asks for missing context. | |
| max_price_usdc | No | Optional hard ceiling on the plan's total. A plan above it is refused with its price rather than quietly trimmed. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||