AI Indicator Creator
cc.indicator_generatorCall cc.indicator_generator — AI-powered indicator workshop. Actions: generate (prompt→code), list_library (user saved indicators), get_indicator (by id), delete_indicator, get_draft (poll generation status), save (persist to library). Returns full indicator code, params, and metadata. Purpose: AI-powered indicator workshop. Actions: generate (prompt→code), list_library (user saved indicators), get_indicator (by id), delete_indicator, get_draft (poll generation status), save (persist to library). Returns full indicator code, params, and metadata. Behavior: READ-ONLY. Does not place orders, move funds, or mutate your exchange account. Live / near-real-time data. Auth: X-Api-Key or x402 payment proof (X-PAYMENT / __x_payment). Anonymous unauthenticated calls receive HTTP 402 with payment accepts. Cost: $0.02 USDC per successful call (x402 Base USDC pay-per-use or prepaid X-Api-Key balance). Linked Connect keys are free. This is billing, not a side effect. Rate limit: 10/min (per API key). Tier: premium. Returns: For generation: {success, processing, generation_id}. For list_library: {indicators:[{id, name, description, code, color, is_overlay, params}]}. For get_draft: {draft, status, generation_id}. Guidelines: Pass required parameters exactly; omit unknown fields. On 402, settle payment then retry with X-PAYMENT. Tags: indicator, code-generation, ai, custom, technical-analysis, charting.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "cc.indicator_generator"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| save | No | Set true with indicator_data to persist to library Optional. | |
| action | No | list_library | get_indicator | delete_indicator | get_draft | save. Omit for generation. Optional. | |
| prompt | No | Natural language description of indicator to generate (required for generation) Optional. | |
| history | No | Conversation history for refinement Optional. | |
| timeframe | No | Chart timeframe context (e.g. 4H, 1D) Optional. | |
| __x_payment | No | Optional x402 payment proof (same value as X-PAYMENT header). Use when retrying after HTTP 402 if your MCP client cannot set custom headers. Not a business parameter. Optional. | |
| indicator_id | No | UUID of indicator (for get/delete actions) Optional. | |
| indicator_data | No | Full indicator object to save: {name, description, code, color, is_overlay, params} Optional. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | True when the gateway HTTP status is 2xx. | |
| data | No | Parsed JSON body from the endpoint (shape varies by slug). | |
| error | No | Error message when ok is false. | |
| status | Yes | Upstream HTTP status from x402-gateway. | |
| billing | No | Optional payment / cost metadata when present. | |
| endpoint | Yes | Catalog slug that was invoked (e.g. funding-rates). |