x402-msgpack
x402-msgpack: 手写 MessagePack 编码/解码(无外部依赖)。encode 输出 base64(UTF-8 JSON 文本 → msgpack 二进制 → base64),
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-msgpack"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| op | No | ||
| json | Yes | ||
| text | No | ||
| base64 | No |