veryfront__create_tool
Requires project.agents.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 |
id | string | Yes | Tool ID, a lowercase slug; it also names the tool source file. Minimum length: 1. Maximum length: 128. |
description | string or null | No | Tool description. Null leaves it empty. On update, REST and GraphQL clear an omitted description and the MCP tool keeps the current one. |
source | string | No | Complete TypeScript source of the tool file. When set it is written as-is and description is ignored. Minimum length: 1. |
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
1{2 "jsonrpc": "2.0",3 "id": 1,4 "method": "tools/call",5 "params": {6 "name": "veryfront__create_tool",7 "arguments": {8 "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 | Unique identifier for the record. |
name | string | Yes | Human-readable name for the record. |
description | string or null | Yes | Human-readable description for the record. |
source_path | string | Yes | The source path associated with this record. |
source | string | Yes | The source associated with this record. |
edit_mode | string | Yes | The edit mode associated with this record. Values: "structured", "source_only". |
source_only_reasons | string[] | Yes | List of source only reasons associated with this record. |
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 "id": {9 "type": "string",10 "minLength": 1,11 "maxLength": 128,12 "pattern": "^[a-z0-9][a-z0-9-]*$",13 "description": "Tool ID, a lowercase slug; it also names the tool source file."14 },15 "description": {16 "type": [17 "string",18 "null"19 ],20 "description": "Tool description. Null leaves it empty. On update, REST and GraphQL clear an omitted description and the MCP tool keeps the current one."21 },22 "source": {23 "type": "string",24 "minLength": 1,25 "description": "Complete TypeScript source of the tool file. When set it is written as-is and description is ignored."26 },27 "source_target_kind": {28 "type": "string",29 "description": "The source target kind associated with this record."30 },31 "target_branch_id": {32 "anyOf": [33 {34 "type": "string",35 "format": "uuid",36 "description": "The target branch id associated with this record."37 },38 {39 "type": "null",40 "description": "Provide the target branch id."41 }42 ],43 "description": "The target branch id associated with this record."44 }45 },46 "required": [47 "id"48 ],49 "additionalProperties": false,50 "description": "Structured create tool input schema for MCP tools.",51 "$schema": "http://json-schema.org/draft-07/schema#"52}output-schema.json
1{2 "type": "object",3 "properties": {4 "id": {5 "type": "string",6 "description": "Unique identifier for the record."7 },8 "name": {9 "type": "string",10 "description": "Human-readable name for the record."11 },12 "description": {13 "type": [14 "string",15 "null"16 ],17 "description": "Human-readable description for the record."18 },19 "source_path": {20 "type": "string",21 "description": "The source path associated with this record."22 },23 "source": {24 "type": "string",25 "description": "The source associated with this record."26 },27 "edit_mode": {28 "type": "string",29 "enum": [30 "structured",31 "source_only"32 ],33 "description": "The edit mode associated with this record."34 },35 "source_only_reasons": {36 "type": "array",37 "items": {38 "type": "string",39 "description": "One source only reason item associated with this record."40 },41 "description": "List of source only reasons associated with this record."42 }43 },44 "required": [45 "id",46 "name",47 "description",48 "source_path",49 "source",50 "edit_mode",51 "source_only_reasons"52 ],53 "additionalProperties": false,54 "description": "Structured tool source output schema for MCP tools.",55 "$schema": "http://json-schema.org/draft-07/schema#"56}