extract
Turn text or files into structured JSON using a local model, with optional schema validation and automatic retry on invalid output.
Instructions
Extract structured data from text/files with the local model. Optionally validate output against a JSON schema (one automatic retry on invalid output).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| glob | No | Glob pattern, e.g. 'src/**/*.ts' | |
| path | No | Single file path (read server-side — never enters your context) | |
| seed | No | Fixed seed for reproducible output. | |
| stop | No | Stop sequences. | |
| text | No | Inline text instead of files | |
| model | No | ||
| paths | No | Multiple file paths | |
| think | No | Chain-of-thought control (ollama `think`; best-effort on openai-compatible servers). think:false keeps the whole max_tokens budget for the answer. | |
| top_p | No | Nucleus sampling threshold. | |
| schema | No | JSON Schema the result must satisfy | |
| num_ctx | No | ||
| options | No | Provider-native overrides merged into the request (ollama `options` keys like top_k/repeat_penalty; openai-compatible body fields). Wins over named params. | |
| provider | No | ||
| instruction | Yes | What to extract, e.g. 'all function names and their purposes' | |
| temperature | No |