Replace the description of a structured project tool, where REST and GraphQL clear an omitted description and the MCP tool keeps it; returns the updated tool source document. Requires project.agents.write.
Arguments
project_referencestringProject ID or slug
tool_idstringrequiredProject-defined tool ID returned by list_tools. This lookup does not load a host executable tool contract.
descriptionstring | nullTool description. Null leaves it empty. On update, REST and GraphQL clear an omitted description and the MCP tool keeps the current one.
sourcestring · min length 1Complete 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_idstring · uuid | nullThe target branch id associated with this record.
Responses
curl -X POST -N "https://api.veryfront.com/mcp" \ -H "Authorization: Bearer $VERYFRONT_API_KEY" \ -H "Accept: application/json, text/event-stream" \ -H "Content-Type: application/json" \ -d '{ "jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": { "name": "veryfront__update_tool", "arguments": { "tool_id": "string" } }}'{ "jsonrpc": "2.0", "id": 1, "result": { "content": [ { "type": "text", "text": "{\"id\":\"string\",\"name\":\"string\",\"description\":\"string\",\"source_path\":\"string\",\"source\":\"string\",\"edit_mode\":\"structured\",\"source_only_reasons\":[\"string\"]}" } ], "structuredContent": { "id": "string", "name": "string", "description": "string", "source_path": "string", "source": "string", "edit_mode": "structured", "source_only_reasons": [ "string" ] } }}The tool ran; its output is result.structuredContent.