veryfront__create_taskAccess
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 should be allowed in schedulers and cron definitions. |
source_target_kind | string | No | The source target kind associated with this record. |
target_branch_id | string or null | No | The target branch id associated with this record. |
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
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "veryfront__create_task",
"arguments": {
"id": "example",
"name": "example"
}
}
}
Result
The published output shape is summarized below. Inspect both the MCP response content andisError 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
{
"type": "object",
"properties": {
"project_reference": {
"type": "string",
"description": "Project ID or slug that owns the new task."
},
"id": {
"type": "string",
"minLength": 1,
"maxLength": 128,
"pattern": "^[a-z0-9][a-z0-9-]*$",
"description": "Stable task identifier used in MCP and project source."
},
"name": {
"type": "string",
"minLength": 1,
"description": "Human-readable task name."
},
"description": {
"type": [
"string",
"null"
],
"description": "Optional short description of what the task does."
},
"schedulable": {
"type": "boolean",
"description": "Whether the task should be allowed in schedulers and cron definitions."
},
"source_target_kind": {
"type": "string",
"description": "The source target kind associated with this record."
},
"target_branch_id": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"description": "The target branch id associated with this record."
},
{
"type": "null",
"description": "Provide the target branch id."
}
],
"description": "The target branch id associated with this record."
}
},
"required": [
"id",
"name"
],
"additionalProperties": false,
"description": "Arguments for creating 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": "One source only reason item associated with this record."
},
"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#"
}