Home / Servers / DigitalOcean API / sessions_list_search

Search Sessions

An MCP tool from the DigitalOcean API server, hosted on mcp.hjlabs.in.

Search Sessions Returns the sessions you can see whose name, actor_id, session_urn, or agentName contains query, case-insensitively, ranked across the whole result set. Cursor-paged with page_size and page_token… [GET /v2/action-gateway/sessions/search]

Name on the gateway: digitalocean_api__sessions_list_search · read-only.

Parameters

NameTypeDescription
querystringMatched case-insensitively as a substring of name, actor_id, session_urn, or…
end_user_idstringend_user_id, when set, is an exact filter on actor_id (the same filter as on…
page_sizeintegerPage size, 1 to 100. Defaults to 20 when omitted or 0; other values are…
page_tokenstringnext_page_token from the previous response. Valid only with the same query and…

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:

call_tool arguments
{
  "name": "digitalocean_api__sessions_list_search",
  "arguments": {}
}

Or connect the DigitalOcean API server directly, which lists 874 tools including this one:

Run in your terminal
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 search sessions tool with query set to ….

More from DigitalOcean API