You're viewing a demo portfolio

Join the waitlist
PRSM

json-extract

Active

Tool of The Stall

declared in 4.82.0

Extracts and parses JSON from mixed-content text. Handles LLM output with JSON embedded in prose, code fences (```json), trailing commas, single-quoted strings, JS-style comments, and bare object keys (JSON5-style). Returns the parsed data, a cleaned JSON string, extraction method used, and any repair applied. Pure text processing — zero external API calls.

Parameters schema

{
  "type": "object",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "properties": {
    "text": {
      "type": "string",
      "description": "Text containing JSON, possibly mixed with prose or code fences. Max 200,000 chars."
    },
    "schema_check": {
      "type": "string",
      "description": "Optional: JSON Schema (draft-07 subset) to validate the extracted data against. If provided, returns a validation result."
    }
  },
  "additionalProperties": false
}

What this tool wraps· 0 endpoints

min confidence0.700.50

No endpoints wrapped at confidence ≥ 0.70.

Parent server

The Stall

1/7 registries
View full server →
json-extract — The Stall — PRSM MCP