Home / Servers / DigitalOcean API / tags_assign_resources
Tag a Resource
An MCP tool from the DigitalOcean API server, hosted on mcp.hjlabs.in.
Tag a Resource Resources can be tagged by sending a POST request to /v2/tags/$TAG_NAME/resources with an array of json objects containing resource_id and resource_type attributes. Currently only tagging of… [POST /v2/tags/{tag_id}/resources]
Name on the gateway: digitalocean_api__tags_assign_resources · may change things.
Parameters
| Name | Type | Description |
|---|---|---|
tag_id required | string | The name of the tag. Tags may contain letters, numbers… |
resources required | array | An array of objects containing resource_id and resource_type attributes. This… |
How to call it
Through the Smart Gateway, any client can run it by name with call_tool, or let the gateway find it with search_tools:
{
"name": "digitalocean_api__tags_assign_resources",
"arguments": {
"tag_id": "…",
"resources": []
}
}Or connect the DigitalOcean API server directly, which lists 874 tools including this one:
claude mcp add --transport http hj-digitalocean-api https://mcp.hjlabs.in/mcp/digitalocean-api \
--header "Authorization: Bearer YOUR_API_KEY"Try asking
Use the tag a resource tool with tag_id set to ….