Understand a request
polypad_intentTurns a plain-language request ("buy 0.01 ETH of POLYCAT", "launch a fund with POLYDASH") into the right tool call. Runs read-only requests directly. For actions that move funds it needs the wallet address in from; if details are missing it returns the questions to ask.
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": {
"text": "<text>"
},
"name": "polypad_intent"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | No | Attribution tag for traffic measurement. Default "grok". | |
| from | No | The wallet address that will sign (0x...). Never a private key. Omit it when a walletToken is passed — the wallet is resolved from the token instead. | |
| text | Yes | What the user said, as written. | |
| walletToken | No | A wallet token from /sign?connect=1: connect once, store the token, and pass it instead of from on every prepare call. The wallet is resolved from the token (signature-checked, 90-day expiry). When both are passed they must name the same wallet. |