Choose and prepare AgentLLM tier (free)
prepare_agentllmFREE deterministic validation and exact-price routing for all AgentLLM tiers. Choose Micro for classification, extraction and short summaries, Basic for general chat, or Plus for stronger drafting, analysis and longer summaries. It validates the exact arguments without calling a model or charging; continue only when ready_to_buy is true.
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": {
"prompt": "<prompt>"
},
"name": "prepare_agentllm"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tier | No | micro | |
| prompt | Yes | ||
| system | No | ||
| max_tokens | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | No | ||
| tier | No | ||
| tool | No | ||
| error | No | ||
| model | No | ||
| price | No | No payment is required for this tool. | |
| limits | No | ||
| charged | No | ||
| message | No | ||
| missing | No | ||
| payment | No | ||
| settled | No | When present on an error, false means no settlement occurred. | |
| unknown | No | ||
| accepted | No | ||
| contract | No | ||
| paid_tool | No | ||
| retryable | No | ||
| error_code | No | ||
| input_bytes | No | ||
| status_code | No | ||
| did_you_mean | No | ||
| ready_to_buy | No | ||
| message_count | No | ||
| missing_checks | No | ||
| paid_arguments | No | ||
| upstream_called | No | ||
| fixed_price_usdc | No | ||
| partial_evidence | No | ||
| accepted_max_output_tokens | No |