parse_partial_json
Parse and validate incomplete JSON fragments to extract structured data from partial inputs, enabling reliable data extraction from incomplete sources.
Instructions
Best-effort parse partial JSON, then validate the parsed fragment.
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": {
"target": "<target>",
"partial_json": "<partial_json>"
},
"name": "parse_partial_json"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| target | Yes | ||
| partial_json | Yes | ||
| allow_partial | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | No | ||
| artifacts | No | ||
| diagnostics | No | ||
| resolved_target | No |