jsonshim
v1.0.2Recovers malformed LLM JSON.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
recover_json
Extract the JSON value from a language model's raw reply, or refuse. Returns recovered:false rather than inventing a value.
| Parameter | Type | Description |
|---|---|---|
text * | string | the model's raw reply |
classify_json_failure
Name which known failure categories a broken model reply matches (fenced, prose_wrapped, trailing_comma, unquoted_keys, single_quotes, comments, py_literals, raw_control, brackets).
| Parameter | Type | Description |
|---|---|---|
text * | string |