extract_code_snippets
Extract code snippet inventories from documentation, capturing doc keys, headings, languages, line numbers, source URLs, and code for snippet verification and docs CI design.
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 |