genpark-llm-tool-call-repair-fuzzy-json-parser-skill

mcp
Guvenlik Denetimi
Uyari
Health Uyari
  • No license — Repository has no license file
  • Description — Repository has a description
  • Active repo — Last push 0 days ago
  • Low visibility — Only 8 GitHub stars
Code Gecti
  • Code scan — Scanned 4 files during light audit, no dangerous patterns found
Permissions Gecti
  • Permissions — No dangerous permissions requested

Bu listing icin henuz AI raporu yok.

SUMMARY

GenPark AI Agent Skill - Fault-tolerant LLM tool call payload repair, unescaped quote sanitization, and markdown codefence stripper.

README.md

GenPark AI Agent Skill - LLM Tool Call Fuzzy JSON Repair

GenPark Verified
Protocol
License

Fault-tolerant JSON repair engine restoring damaged, truncated, or markdown-polluted tool call payloads from LLMs (Instructor / DirtyJSON inspired).

flowchart TD
    A[Damaged LLM Tool Output] --> B{Valid JSON?}
    B -->|Yes| C[Instant Parse]
    B -->|No| D[Strip Markdown Fences]
    D --> E[Balance Quotes and Braces]
    E --> F[Convert Python Constants & Remove Trailing Commas]
    F --> G[Synthesized Clean JSON Object]

Features

  • Recovers Truncated Streams: Closes uncompleted brackets and quotes.
  • Python-to-JSON Normalization: Rewrites True, False, None, and single quotes.
  • Zero External Dependencies: Standard library Python 3.9+.

Quickstart

from client import ToolCallFuzzyJSONRepairClient

repairer = ToolCallFuzzyJSONRepairClient()
parsed = repairer.parse_tool_call(malformed_string)

Ecosystem & Citations

Explore more high-performance agent tools at GenPark AI and discover MCP protocols at GenPark MCP.

Yorumlar (0)

Sonuc bulunamadi