Sherpa
ReferenceMCP Tools

Tasks Tools

MCP tools for tasks operations.

task_list

List tasks from the task board. Returns metadata for all matching tasks, sorted by priority.

ParameterTypeRequiredDescription
statusstringnoFilter by task status
rolestringnoFilter by agent role
backendstringnoFilter by execution backend
initiativestringnoFilter by initiative slug

task_get

Get a single task by ID with full details: metadata, body content, and output log if available.

ParameterTypeRequiredDescription
idstringyesTask slug/ID

task_create

Create a new task on the task board. Routes to the appropriate backend via dispatch config, or accepts an explicit backend override.

ParameterTypeRequiredDescription
idstringyesTask slug — becomes the filename
titlestringyesHuman-readable task title
rolestringyesAgent role to execute this task
prioritystringno
initiativestringnoParent initiative slug
backendstringnoTarget backend. When omitted, resolved from task_type via dispatch config
task_typestringnoTask type — used for backend routing when backend is omitted
modelstringnoModel override. When omitted, uses the backend's configured default
objectivestringyesWhat the worker must accomplish
contextstringnoFiles to read, initiative context
acceptance_criteriaarrayyesList of acceptance criteria
constraintsstringnoWhat NOT to do, patterns to follow
deliverablesstringyesArtifacts the worker must produce

task_update

Update a task's metadata field.

ParameterTypeRequiredDescription
idstringyesTask slug/ID
fieldstringyesFrontmatter field to update
valuestring,nullyesNew value (use null to clear)

task_dispatch

Dispatch a pending task to its configured backend for execution. The worker runs as a detached background process. Supports all backends: claude, opencode, codex, gemini, lm-studio, groq, google-ai, lm-studio-api, openclaw.

ParameterTypeRequiredDescription
idstringyesLinear issue identifier (e.g. 'SG-306')

task_logs

Read logs for a task. Returns structured NDJSON events and/or artifact logs (output, blockers, verdict).

ParameterTypeRequiredDescription
idstringyesTask slug/ID
log_typestringnoWhich log to read
tailnumbernoReturn only the last N events

On this page