Update task

Change the name, description or schedulable flag of a structured task, where an omitted description or flag keeps its value; returns the updated task source document. Requires project.runs.write.

Arguments

  • project_referencestring

    Project ID or slug that owns the task.

  • task_idstring · min length 1required

    Existing task identifier to update.

  • namestring · min length 1required

    Updated human-readable task name.

  • descriptionstring | null

    Updated task description. Omit it to keep the current description.

  • schedulableboolean

    Updated schedulable flag. Omit it to keep the current value.

  • source_target_kindstring

    Source to write: project or preview_branch. Defaults to project.

  • target_branch_idstring · uuid | null

    Preview branch to write when source_target_kind is preview_branch.

Responses

curl -X POST -N "https://api.veryfront.com/mcp" \  -H "Authorization: Bearer $VERYFRONT_API_KEY" \  -H "Accept: application/json, text/event-stream" \  -H "Content-Type: application/json" \  -d '{  "jsonrpc": "2.0",  "id": 1,  "method": "tools/call",  "params": {    "name": "veryfront__update_task",    "arguments": {      "task_id": "string",      "name": "string"    }  }}'
{  "jsonrpc": "2.0",  "id": 1,  "result": {    "content": [      {        "type": "text",        "text": "{\"id\":\"string\",\"name\":\"string\",\"description\":\"string\",\"target\":\"string\",\"source_path\":\"string\",\"source\":\"string\",\"schedulable\":false,\"edit_mode\":\"structured\",\"source_only_reasons\":[\"string\"]}"      }    ],    "structuredContent": {      "id": "string",      "name": "string",      "description": "string",      "target": "string",      "source_path": "string",      "source": "string",      "schedulable": false,      "edit_mode": "structured",      "source_only_reasons": [        "string"      ]    }  }}

The tool ran; its output is result.structuredContent.