For AI agents: The documentation index is at https://docs.digitalocean.com/llms.txt. Markdown versions of pages use the same URL with index.html.md in place of the HTML page (for example, append index.html.md to the directory path instead of opening the HTML document).
Usage
client.v2.actionGateway.mcpServers.byServer_ref(server_ref).tools.get(requestConfiguration?: RequestConfiguration<object>): Promise<undefined | List_mcp_server_tools_response>
Description
Returns every tool discovered on the server, sorted by name, with whether each is enabled. Tools that have since disappeared from the server stay listed.
Parameters
server_ref string required
Example: docs
Server identifier (serverRef) of one of your team's MCP servers.
Request Sample
Show Request Sample
import { FetchRequestAdapter } from "@microsoft/kiota-http-fetchlibrary";
import {
createDigitalOceanClient,
DigitalOceanApiKeyAuthenticationProvider,
} from "@digitalocean/dots";
const authProvider = new DigitalOceanApiKeyAuthenticationProvider(process.env.DIGITALOCEAN_TOKEN!);
const adapter = new FetchRequestAdapter(authProvider);
const client = createDigitalOceanClient(adapter);
const response = await client.v2.actionGateway.mcpServers
.byServer_ref("docs").tools.get();
Response Example
Show Response Example
{
"tools": [
{
"name": "get_page",
"toolSlug": "docs_get_page",
"description": "Fetch one documentation page.",
"enabled": true,
"quarantined": false,
"quarantineReason": ""
},
{
"name": "search",
"toolSlug": "docs_search",
"description": "Search the documentation index.",
"enabled": true,
"quarantined": false,
"quarantineReason": ""
}
]
}
See /v2/action-gateway/mcp-servers/{server_ref}/tools in the API reference for additional detail on responses, headers, parameters, and more.