veryfront__create_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
| Field | Type | Required | Description and constraints |
|---|---|---|---|
project_reference | string | No | Project ID or slug that owns the new task. |
id | string | Yes | Stable task identifier used in MCP and project source. Minimum length: 1. Maximum length: 128. |
name | string | Yes | Human-readable task name. Minimum length: 1. |
description | string or null | No | Optional short description of what the task does. |
schedulable | boolean | No | Whether the task can be used from schedulers and cron definitions. Defaults to true. |
source_target_kind | string | No | Source to write: project or preview_branch. Defaults to project. |
target_branch_id | string or null | No | Preview branch to write when source_target_kind is preview_branch. |
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.
request.json
1{2 "jsonrpc": "2.0",3 "id": 1,4 "method": "tools/call",5 "params": {6 "name": "veryfront__create_task",7 "arguments": {8 "id": "example",9 "name": "example"10 }11 }12}Result
The published output shape is summarized below. Inspect both the MCP response content and isError when handling a call.
| Field | Type | Required | Description and constraints |
|---|---|---|---|
id | string | Yes | Task identifier. |
name | string | Yes | Human-readable task name. |
description | string or null | Yes | Short description of what the task does. |
target | string | Yes | Execution target that implements the task. |
source_path | string | Yes | Source file path where the task definition lives. |
source | string | Yes | Task source code or structured document content. |
schedulable | boolean | Yes | Whether the task can be used from schedulers. |
edit_mode | string | Yes | Editing mode supported for the task definition. Values: "structured", "source_only". |
source_only_reasons | string[] | Yes | Reasons why the task can only be edited as raw source, when applicable. |
Full schemas
input-schema.json
1{2 "type": "object",3 "properties": {4 "project_reference": {5 "type": "string",6 "description": "Project ID or slug that owns the new task."7 },8 "id": {9 "type": "string",10 "minLength": 1,11 "maxLength": 128,12 "pattern": "^[a-z0-9][a-z0-9-]*$",13 "description": "Stable task identifier used in MCP and project source."14 },15 "name": {16 "type": "string",17 "minLength": 1,18 "description": "Human-readable task name."19 },20 "description": {21 "type": [22 "string",23 "null"24 ],25 "description": "Optional short description of what the task does."26 },27 "schedulable": {28 "type": "boolean",29 "description": "Whether the task can be used from schedulers and cron definitions. Defaults to true."30 },31 "source_target_kind": {32 "type": "string",33 "description": "Source to write: project or preview_branch. Defaults to project."34 },35 "target_branch_id": {36 "anyOf": [37 {38 "type": "string",39 "format": "uuid",40 "description": "Provide the target branch id."41 },42 {43 "type": "null",44 "description": "Provide the target branch id."45 }46 ],47 "description": "Preview branch to write when source_target_kind is preview_branch."48 }49 },50 "required": [51 "id",52 "name"53 ],54 "additionalProperties": false,55 "description": "Arguments for creating a task definition.",56 "$schema": "http://json-schema.org/draft-07/schema#"57}output-schema.json
1{2 "type": "object",3 "properties": {4 "id": {5 "type": "string",6 "description": "Task identifier."7 },8 "name": {9 "type": "string",10 "description": "Human-readable task name."11 },12 "description": {13 "type": [14 "string",15 "null"16 ],17 "description": "Short description of what the task does."18 },19 "target": {20 "type": "string",21 "description": "Execution target that implements the task."22 },23 "source_path": {24 "type": "string",25 "description": "Source file path where the task definition lives."26 },27 "source": {28 "type": "string",29 "description": "Task source code or structured document content."30 },31 "schedulable": {32 "type": "boolean",33 "description": "Whether the task can be used from schedulers."34 },35 "edit_mode": {36 "type": "string",37 "enum": [38 "structured",39 "source_only"40 ],41 "description": "Editing mode supported for the task definition."42 },43 "source_only_reasons": {44 "type": "array",45 "items": {46 "type": "string"47 },48 "description": "Reasons why the task can only be edited as raw source, when applicable."49 }50 },51 "required": [52 "id",53 "name",54 "description",55 "target",56 "source_path",57 "source",58 "schedulable",59 "edit_mode",60 "source_only_reasons"61 ],62 "additionalProperties": false,63 "description": "Task definition including editable source content.",64 "$schema": "http://json-schema.org/draft-07/schema#"65}