retrieve_assignment
Retrieve attributes for a specific tag assignment by providing the tag ID, resource type, and resource ID.
Instructions
Get specific assignment for the tag [GET /v1/tags/{tagId}/assignments/{resourceType}/{resourceId}] Get attributes for a specific tag assignment in your account. For this the resource type and resource id is required.
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": {
"tagId": "<tagId>",
"resourceType": "<resourceType>",
"resourceId": "<resourceId>"
},
"name": "retrieve_assignment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tagId | Yes | The identifier of the tag. | |
| resourceId | Yes | The identifier of the resource id | |
| x-trace-id | No | Identifier to trace group of requests. | |
| resourceType | Yes | The identifier of the resource type. Resource type is one of `instance|image|object-storage`. |