extract_local
Extract specific facts like function names, URLs, error codes, or TODO comments from unstructured text using a local model. Runs locally to avoid cloud-model token costs and returns the requested items as text.
Instructions
Extract specific information from a text block using the local model.
Use to pull structured facts out of unstructured text — function names, URLs,
error codes, TODO comments, dependency names — without spending cloud-model
tokens. Runs locally at no cloud cost. Returns the extracted items as text,
shaped by what_to_extract.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | The source text to extract from. | |
| model | No | Ollama model name to run, e.g. 'llama3.1' or 'qwen2.5-coder'. Omit to use the server's configured default model. | |
| what_to_extract | Yes | What to pull out, e.g. 'all function definitions' or 'every URL in the file'. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |