use_harness
Execute a prompt in a headless CLI host to delegate tasks to local agents like Claude, Codex, or opencode, using their configured skills and MCP tools.
Instructions
Run a prompt in a headless host CLI (claude -p, codex exec, opencode run, ...). Lets the DeepSeek model drive local agents, skills, plugins, and MCP tools configured on that host. Host must be in HARNESS_ALLOW_HOSTS.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cwd | No | Working directory for the harness (default: server cwd) | |
| host | Yes | Harness to drive (claude | codex | opencode, or other configured) | |
| prompt | Yes | Task for the harness session | |
| timeout_ms | No | Kill the harness after this many ms (default: 120000) |