get_pending_agent_tasks
Get all pending ctlsurf_task items assigned to you. Call this on session start to check for work.
Examples:
get_pending_agent_tasks(repo_url="https://github.com/user/repo") - by repo URL (preferred)
get_pending_agent_tasks(root_path="/path/to/project") - by local path (auto-detects repo URL)
get_pending_agent_tasks() - get ALL pending tasks across all projects
Tasks may include a skill (playbook) with workflow steps and guards to follow.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_pending_agent_tasks"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo_url | No | Filter by git repository URL (preferred). Example: https://github.com/user/repo | |
| root_path | No | Filter by codebase root path. Auto-detects repo URL from git remote. |