# veryfront__update_tool

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.

Risk: mutating.

## Arguments

| Name                 | Type        | Required | Description                                                                                                                              |
| -------------------- | ----------- | -------- | ---------------------------------------------------------------------------------------------------------------------------------------- |
| `project_reference`  | string      |          | Project ID or slug                                                                                                                       |
| `tool_id`            | string      | Yes      | Project-defined tool ID returned by list\_tools. This lookup does not load a host executable tool contract.                              |
| `description`        | string,null |          | 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      |          | Complete TypeScript source of the tool file. When set it is written as-is and description is ignored.                                    |
| `source_target_kind` | string      |          | The source target kind associated with this record.                                                                                      |
| `target_branch_id`   |             |          | The target branch id associated with this record.                                                                                        |

## Call it

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "veryfront__update_tool",
    "arguments": {
      "tool_id": "<tool_id>"
    }
  }
}
```
