veryfront__update_task
Requires project.runs.write.
Access
No external-service connection is required. Use a Veryfront credential with access to the requested resources.
Call type: Can change resources.
Arguments
Example request
Send this JSON-RPC request through an initialized MCP client. Replace sample identifiers and values before calling the tool. See MCP client setup.
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "veryfront__update_task",
"arguments": {
"task_id": "example",
"name": "example"
}
}
}Result
The published output shape is summarized below. Inspect both the MCP response content and isError when handling a call.
Full schemas
{
"type": "object",
"properties": {
"project_reference": {
"type": "string",
"description": "Project ID or slug that owns the task."
},
"task_id": {
"type": "string",
"minLength": 1,
"description": "Existing task identifier to update."
},
"name": {
"type": "string",
"minLength": 1,
"description": "Updated human-readable task name."
},
"description": {
"type": [
"string",
"null"
],
"description": "Updated task description. Omit it to keep the current description."
},
"schedulable": {
"type": "boolean",
"description": "Updated schedulable flag. Omit it to keep the current value."
},
"source_target_kind": {
"type": "string",
"description": "Source to write: project or preview_branch. Defaults to project."
},
"target_branch_id": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"description": "Provide the target branch id."
},
{
"type": "null",
"description": "Provide the target branch id."
}
],
"description": "Preview branch to write when source_target_kind is preview_branch."
}
},
"required": [
"task_id",
"name"
],
"additionalProperties": false,
"description": "Arguments for updating a task definition.",
"$schema": "http://json-schema.org/draft-07/schema#"
}{
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "Task identifier."
},
"name": {
"type": "string",
"description": "Human-readable task name."
},
"description": {
"type": [
"string",
"null"
],
"description": "Short description of what the task does."
},
"target": {
"type": "string",
"description": "Execution target that implements the task."
},
"source_path": {
"type": "string",
"description": "Source file path where the task definition lives."
},
"source": {
"type": "string",
"description": "Task source code or structured document content."
},
"schedulable": {
"type": "boolean",
"description": "Whether the task can be used from schedulers."
},
"edit_mode": {
"type": "string",
"enum": [
"structured",
"source_only"
],
"description": "Editing mode supported for the task definition."
},
"source_only_reasons": {
"type": "array",
"items": {
"type": "string"
},
"description": "Reasons why the task can only be edited as raw source, when applicable."
}
},
"required": [
"id",
"name",
"description",
"target",
"source_path",
"source",
"schedulable",
"edit_mode",
"source_only_reasons"
],
"additionalProperties": false,
"description": "Task definition including editable source content.",
"$schema": "http://json-schema.org/draft-07/schema#"
}