save_attachment_metadata
Update or create metadata for an attachment in a repository. Provide project key, repo slug, attachment ID, and JSON metadata.
Instructions
Create or update metadata for an attachment.
The metadata field must be valid JSON.
Args: project_key: The project key. repo_slug: The repository slug. attachment_id: The numeric attachment ID. metadata: JSON string of metadata to save.
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": {
"project_key": "<project_key>",
"repo_slug": "<repo_slug>",
"attachment_id": "<attachment_id>",
"metadata": "<metadata>"
},
"name": "save_attachment_metadata"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_key | Yes | ||
| repo_slug | Yes | ||
| attachment_id | Yes | ||
| metadata | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |