extract_code_snippets
Extract a structured inventory of fenced code snippets from documentation, including language, line numbers, source URLs, and code. Use it to verify snippets and design documentation CI.
Instructions
Return an inventory of fenced code snippets from the documentation.
The result includes the doc key, title, heading, language, line number, source URL, and code. Use this for snippet verification and docs CI design.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | No | ||
| language | No | ||
| max_snippets | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |