{"id":"github-heading-slug","version":"1.0.0","description":"Generate GitHub-style heading anchors in order, including deterministic duplicate suffix allocation.","supported_operations":["generate GitHub heading anchors","slug markdown headings","allocate duplicate heading ids","GitHub anchor for headings","make table of contents anchors","deduplicate heading slugs"],"unsupported_operations":["parse Markdown documents","generic URL slug conventions","percent-encode fragment identifiers"],"semantics":["Matches the ordered slug and duplicate-allocation behavior documented by github-slugger 2.0.0; input is already-extracted heading text.","Each base slug is lowercased, the exact generated github-slugger 2.0.0 removal table is applied, and every ASCII space becomes a hyphen.","The first base slug is unsuffixed. Later collisions receive -1, -2, and so on while also avoiding anchors already allocated by literal headings.","Occurrence state is fresh for every run; empty base slugs are permitted and duplicates become -1, -2, and so on."],"limits":{"max_headings":256,"max_heading_bytes":4096,"max_total_bytes":65536},"pricing":{"status":"unpriced","charge_usd":null},"input_schema":{"type":"object","additionalProperties":false,"required":["headings"],"properties":{"headings":{"type":"array","minItems":1,"maxItems":256,"items":{"type":"string","maxLength":4096}}}},"output_schema":{"type":"object","additionalProperties":false,"required":["anchors"],"properties":{"anchors":{"type":"array","minItems":1,"maxItems":256,"items":{"type":"string","maxLength":4110}}}},"examples":[{"input":{"headings":["Hello, World!","Hello World","Hello World"]},"output":{"anchors":["hello-world","hello-world-1","hello-world-2"]}},{"input":{"headings":["Привет мир","Привет мир"]},"output":{"anchors":["привет-мир","привет-мир-1"]}}],"execute_url":"/v1/tools/github-heading-slug/versions/1.0.0/execute"}