veryfront__create_tool

Create a project tool source file in the project source or a preview branch so project agents can call it; returns the tool source document. Requires project.agents.write.

Risk: mutating.

Arguments

NameTypeRequiredDescription
project_referencestringProject ID or slug
idstringYesTool ID, a lowercase slug; it also names the tool source file.
descriptionstring,nullTool description. Null leaves it empty. On update, REST and GraphQL clear an omitted description and the MCP tool keeps the current one.
sourcestringComplete TypeScript source of the tool file. When set it is written as-is and description is ignored.
source_target_kindstringThe source target kind associated with this record.
target_branch_idThe target branch id associated with this record.

Call it

JSON
{  "jsonrpc": "2.0",  "id": 1,  "method": "tools/call",  "params": {    "name": "veryfront__create_tool",    "arguments": {      "id": "<id>"    }  }}