x402-bson
x402-bson: 手写 BSON(MongoDB 二进制 JSON)编码/解码(无外部依赖)。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-bson"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| op | No | ||
| json | Yes | ||
| text | No | ||
| base64 | No |