json_json_merge
Merge two JSON objects by applying a patch that overrides keys in the base object. Provide base and patch as JSON strings to get the combined result.
Instructions
[json] Merge two JSON objects. Keys in the patch object override the base.
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": {
"base": "<base>",
"patch": "<patch>"
},
"name": "json_json_merge"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| base | Yes | ||
| patch | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |