Home / Servers / DigitalOcean API / genai_list_agents_by_workspace
List agents by Workspace
An MCP tool from the DigitalOcean API server, hosted on mcp.hjlabs.in.
List agents by Workspace To list all agents by a Workspace, send a GET request to /v2/gen-ai/workspaces/{workspace_uuid}/agents. [GET /v2/gen-ai/workspaces/{workspace_uuid}/agents]
Name on the gateway: digitalocean_api__genai_list_agents_by_workspace · read-only.
Parameters
| Name | Type | Description |
|---|---|---|
workspace_uuid required | string | Workspace UUID. |
only_deployed | boolean | Only list agents that are deployed. |
page | integer | Page number. |
per_page | integer | Items per page. |
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__genai_list_agents_by_workspace",
"arguments": {
"workspace_uuid": "…"
}
}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 list agents by workspace tool with workspace_uuid set to ….