x402-cbor
x402-cbor: 手写 CBOR(RFC 8949)编码/解码(无外部依赖)。encode 输出 base64,decode 输入 base64 → JSON。
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": {
"json": "<json>"
},
"name": "x402-cbor"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| op | No | ||
| json | Yes | ||
| text | No | ||
| base64 | No |