json_patch
Apply an RFC 6902 patch (add/remove/replace/move/copy/test) to a document; per-operation errors with the failing index. Free under 32 KB, x402 above.
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": {
"document": "<document>",
"patch": "<patch>"
},
"name": "json_patch"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| patch | Yes | RFC 6902 operations, applied in order | |
| document | Yes | the JSON document to patch |