# Update skill

Tool: `veryfront__update_skill`

Change the description, allowed tools or instructions of a structured skill, where omitted tools and instructions keep their values; returns the updated skill source document. Requires project.agents.write.

## Arguments

| Name                 | Type                                    | Required | Description                                                                                                                                                                                                                                                                                                                                                                                 |
| -------------------- | --------------------------------------- | -------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `project_reference`  | string                                  |          | Project ID or slug                                                                                                                                                                                                                                                                                                                                                                          |
| `skill_id`           | string · min length 1 · max length 64   | Yes      | Required. Canonical skill name, also used as the skill directory name. For example "daily-changelog-flow", not "daily--changelog". A skill cannot be renamed. There is no display\_name field; put the human-readable label in description. Max 64 characters. Lowercase letters, numbers, and hyphens only. Must not start or end with a hyphen, and must not contain consecutive hyphens. |
| `name`               | string · min length 1 · max length 64   |          | Optional; when sent it must equal skill\_id. Max 64 characters. Lowercase letters, numbers, and hyphens only. Must not start or end with a hyphen, and must not contain consecutive hyphens.                                                                                                                                                                                                |
| `description`        | string · min length 1 · max length 1024 | Yes      | Required. Max 1024 characters. Non-empty. Describes what the skill does and when to use it.                                                                                                                                                                                                                                                                                                 |
| `allowed_tools`      | array of string · min length 1          |          | The allowed tools associated with this record.                                                                                                                                                                                                                                                                                                                                              |
| `instructions`       | string                                  |          | Optional. Full markdown body of SKILL.md. Omit it to leave the existing body untouched; send it to replace the body wholesale.                                                                                                                                                                                                                                                              |
| `str_replace`        | object                                  |          | Replace one exact occurrence in the current instructions. Do not combine with instructions.                                                                                                                                                                                                                                                                                                 |
| `source_target_kind` | string                                  |          | The source target kind associated with this record.                                                                                                                                                                                                                                                                                                                                         |
| `target_branch_id`   | string · uuid \| null                   |          | The target branch id associated with this record.                                                                                                                                                                                                                                                                                                                                           |

## Responses

| Status | Description                                           |
| ------ | ----------------------------------------------------- |
| 200    | The tool ran; its output is result.structuredContent. |

## Call it

```bash
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_skill",
    "arguments": {
      "skill_id": "string",
      "description": "string"
    }
  }
}'
```

## Example response

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "result": {
    "content": [
      {
        "type": "text",
        "text": "{\"id\":\"string\",\"name\":\"string\",\"description\":\"string\",\"source_path\":\"string\",\"edit_mode\":\"structured\",\"allowed_tools\":[\"string\"],\"owner_agent_id\":\"string\",\"short_name\":\"string\",\"instructions\":\"string\",\"sections\":{},\"source\":\"string\",\"source_only_reasons\":[\"string\"]}"
      }
    ],
    "structuredContent": {
      "id": "string",
      "name": "string",
      "description": "string",
      "source_path": "string",
      "edit_mode": "structured",
      "allowed_tools": [
        "string"
      ],
      "owner_agent_id": "string",
      "short_name": "string",
      "instructions": "string",
      "sections": {},
      "source": "string",
      "source_only_reasons": [
        "string"
      ]
    }
  }
}
```
