update_profile
Update an existing database profile with new name, type, config, role, tags, enabled, description, or permission mode. Throws an error if the profile is not found; preserves creation metadata.
Instructions
修改已存在的 profile(UPDATE-only)。profile 不存在抛错。use_count/created_at/created_by/id 不变。SQLite 类型不要传 config.filePath。[group: profiles]
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"name": "<name>",
"type": "<type>",
"config": "<config>"
},
"name": "update_profile"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| role | No | ||
| tags | No | ||
| type | Yes | ||
| config | Yes | ||
| enabled | No | ||
| description | No | ||
| permissionMode | No |