Usage-based text generation
generate_textGenerate short text responses for prompts. Provides on-demand insights with usage-based pricing capped at $0.05 per call, so you only pay for what is produced.
Instructions
Generates short text output for a prompt. Billed by output length, up to $0.05 max per call (x402 'upto' scheme — you authorize a ceiling, the actual charge is based on what's produced). Price: usage-based, max $0.05 per call.
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": "generate_text"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| prompt | Yes | Text prompt to generate insights about |