json_operations
Read, write, validate, patch, format JSON files or extract JSON from text. Perform high-level data surgery on configurations and logs.
Instructions
Perform specialized JSON data operations with agentic telemetry.
RATIONALE: Agents often need to "patch" existing configs or extract JSON from unstructured logs. This portmanteau provides the specialized logic required for high-level data surgery.
Args: action: The JSON operation to perform. path: File path for read/write/patch operations. data: Data to write or merge (for "write"/"patch"). text: Raw text to extract JSON from (for "extract_from_text"). indent: Indentation for formatting. ctx: FastMCP Context for telemetry and sampling.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | ||
| path | No | ||
| data | No | ||
| text | No | ||
| indent | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||