write_json_values
Modify JSON files by writing values to specific paths using dot notation. Automatically creates missing paths to update configurations, multilingual content, or structured data.
Instructions
Write a value to a JSON file at a specified path using dot notation. Creates missing paths automatically.
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": {
"filePath": "<filePath>",
"path": "<path>",
"value": "<value>"
},
"name": "write_json_values"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filePath | Yes | Absolute path to the JSON file | |
| path | Yes | Dot notation path to the value (e.g., "common.welcome") | |
| value | Yes | Value to write (any JSON-serializable type) |