AI Trading Chat
cc.squirrel_chatCall cc.squirrel_chat — Full AI trading assistant with real-time market data, position analysis, chart drawing commands, and multi-tool execution. Supports 60+ data actions including candles, funding rates, open interest, liquidations, order book, and more. Returns structured analysis with optional chart annotations. Purpose: Full AI trading assistant with real-time market data, position analysis, chart drawing commands, and multi-tool execution. Supports 60+ data actions including candles, funding rates, open interest, liquidations, order book, and more. Returns structured analysis with optional chart annotations. 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.002 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: AI response with market analysis, trade suggestions, and optional draw_commands for chart annotations. Token usage included for billing. Guidelines: Pass required parameters exactly; omit unknown fields. On 402, settle payment then retry with X-PAYMENT. Tags: chat, ai, analysis, trading, market-data.
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": {
"message": "<message>"
},
"name": "cc.squirrel_chat"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| symbol | No | Active chart symbol (e.g. BTC-USDT) Optional. | |
| message | Yes | User message / question / instruction Required. | |
| positions | No | Current open positions for context Optional. | |
| timeframe | No | Active chart timeframe (e.g. 4H) 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. | |
| conversation_id | No | Existing conversation UUID for context continuity 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). |