workbuddy_session_start
Start a WorkBuddy session to execute a prompt in a specified workspace, returning a task ID for status polling or a blocking report when waitForCompletion is enabled.
Instructions
Start a current-version WorkBuddy session. ACP mode returns a taskId immediately by default; poll status and request the report after completion. Set waitForCompletion=true when a blocking report is preferred.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"cwd": "<cwd>",
"prompt": "<prompt>"
},
"name": "workbuddy_session_start"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cwd | Yes | Explicit existing workspace directory. | |
| prompt | Yes | ||
| backend | No | auto prefers ACP and may use one-shot CLI fallback only before a prompt is submitted. | auto |
| modelId | No | Optional model ID. Local validation fallback tries hy4-preview then deepseek-v4.1-flash when omitted. | |
| permissionMode | No | WorkBuddy permission mode. Default plan: read/analyze only. acceptEdits: auto-accept file edits. bypassPermissions: skip permission prompts (danger). fullAccess: skip all permission checks including dangerous commands (extreme danger). Other values pass through to the current WorkBuddy version. | plan |
| waitForCompletion | No | If true, wait for the first prompt report; otherwise return the taskId immediately. | |
| acceptanceCriteria | No |