Delegate a task with inline material and/or files
local_llm_delegateRun private or large-output tasks on a local LLM by providing text, files, or command output, and receive sanitized placeholders or digested summaries so data stays on your network.
Instructions
Hand a task to the local worker model over material you name: inline text (material), files or directories to read (paths; directories are listed), and/or the output of a shell command (command). Use for reading or summarizing files and documents, research and synthesis over provided text, calculations, format transformations, parsing, boilerplate drafting, and — in PII mode — anything that touches private data (names, addresses, credentials, personal mail; the worker reads it, you receive placeholders such as [PERSON-1] that you can reuse in later calls). Set verbatim=true ONLY when you will reproduce or edit the text itself (code, config, an error with its stack): the worker locates the lines and the server quotes them. Leave it false for anything to be answered, counted, summarised or listed. The worker also carries its own running memory of this conversation, so follow-up tasks can refer to earlier results by turn id (t_xxxxxx) or artifact ref (a_xxxxxxxx).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cwd | No | Base directory for relative paths and the command. | |
| task | Yes | What to do, precisely: what to extract, what to report, thresholds, output shape. | |
| paths | No | Files or directories to read as material (~ expands). Optional. | |
| command | No | Shell command whose output is added to the material (bash -c; placeholders expanded server-side). Optional. | |
| material | No | Inline text to work on (pasted output, a document, data). Optional. | |
| verbatim | No | Copy the matching lines byte for byte instead of answering (the worker only locates them). Only for text you must reproduce or edit (a function, a config block, an error with its stack). NOT for questions, counts, summaries or listings: those need the digest, which is the default. | |
| max_output_chars | No | Soft budget for the answer (0 = server default). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |