veryfront__get_task
Requires project.runs.read.
Access
No external-service connection is required. Use a Veryfront credential with access to the requested resources.
Call type: Read-only.
Arguments
| Field | Type | Required | Description and constraints |
|---|---|---|---|
project_reference | string | No | Project ID or slug |
task_id | string | Yes | Task ID from list_tasks, for example sync-data |
source_target_kind | string | No | Source to read: project, main_branch, environment or preview_branch. Overrides runtime_target_kind. Values: "project", "main_branch", "environment", "preview_branch". |
runtime_target_kind | string or null | No | Runtime target to read from: main_branch, environment or preview_branch. |
target_environment_id | string or null | No | Environment to read from when the target kind is environment. |
target_branch_id | string or null | No | Preview branch to use when the 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__get_task",7 "arguments": {8 "task_id": "example"9 }10 }11}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. |
edit_mode | string | Yes | Editing mode supported for the task definition; source_only definitions reject update_task with source_only_conflict. Values: "structured", "source_only". |
input_schema | object or null | Yes | Structured input schema for task execution, when defined. |
output_schema | object or null | Yes | Structured output schema for task execution, when defined. |
schedulable | boolean | Yes | Whether the task can be used from cron schedules or workflow schedulers. |
Full schemas
input-schema.json
1{2 "type": "object",3 "properties": {4 "project_reference": {5 "type": "string",6 "description": "Project ID or slug"7 },8 "task_id": {9 "type": "string",10 "description": "Task ID from list_tasks, for example sync-data"11 },12 "source_target_kind": {13 "type": "string",14 "enum": [15 "project",16 "main_branch",17 "environment",18 "preview_branch"19 ],20 "description": "Source to read: project, main_branch, environment or preview_branch. Overrides runtime_target_kind."21 },22 "runtime_target_kind": {23 "anyOf": [24 {25 "type": "string",26 "enum": [27 "main_branch",28 "environment",29 "preview_branch"30 ],31 "description": "Provide the runtime target kind."32 },33 {34 "type": "null",35 "description": "Provide the runtime target kind."36 }37 ],38 "description": "Runtime target to read from: main_branch, environment or preview_branch."39 },40 "target_environment_id": {41 "anyOf": [42 {43 "type": "string",44 "format": "uuid",45 "description": "Provide the target environment id."46 },47 {48 "type": "null",49 "description": "Provide the target environment id."50 }51 ],52 "description": "Environment to read from when the target kind is environment."53 },54 "target_branch_id": {55 "anyOf": [56 {57 "type": "string",58 "format": "uuid",59 "description": "Provide the target branch id."60 },61 {62 "type": "null",63 "description": "Provide the target branch id."64 }65 ],66 "description": "Preview branch to use when the target kind is preview_branch."67 }68 },69 "required": [70 "task_id"71 ],72 "additionalProperties": false,73 "$schema": "http://json-schema.org/draft-07/schema#",74 "description": "Arguments for the get_task tool."75}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 "edit_mode": {28 "type": "string",29 "enum": [30 "structured",31 "source_only"32 ],33 "description": "Editing mode supported for the task definition; source_only definitions reject update_task with source_only_conflict."34 },35 "input_schema": {36 "anyOf": [37 {38 "type": "object",39 "additionalProperties": {40 "description": "Additional structured values associated with this result."41 },42 "description": "Structured input schema details associated with this tool result."43 },44 {45 "type": "null",46 "description": "The input schema returned by the tool."47 }48 ],49 "description": "Structured input schema for task execution, when defined."50 },51 "output_schema": {52 "anyOf": [53 {54 "type": "object",55 "additionalProperties": {56 "description": "Additional structured values associated with this result."57 },58 "description": "Structured output schema details associated with this tool result."59 },60 {61 "type": "null",62 "description": "The output schema returned by the tool."63 }64 ],65 "description": "Structured output schema for task execution, when defined."66 },67 "schedulable": {68 "type": "boolean",69 "description": "Whether the task can be used from cron schedules or workflow schedulers."70 }71 },72 "required": [73 "id",74 "name",75 "description",76 "target",77 "source_path",78 "edit_mode",79 "input_schema",80 "output_schema",81 "schedulable"82 ],83 "additionalProperties": false,84 "description": "Task definition.",85 "$schema": "http://json-schema.org/draft-07/schema#"86}