Storyden
Robots

Refresh Robot MCP server tools

Connect to the external MCP server, refresh its tool cache, and update the runtime Robot tool registry.

POST
/robots/mcp-servers/{mcp_server_id}/refresh

Connect to the external MCP server, refresh its tool cache, and update the runtime Robot tool registry.

Authorization

cookiestoryden-session<token>

Path Parameters

mcp_server_id*string

Robot MCP server ID

Formatxid

Response Body

Robot MCP server refreshed.

application/json
  1. response
id*Identifier

A unique identifier for this resource.

Formatxid
createdAt*string

The time the resource was created.

Formatdate-time
updatedAt*string

The time the resource was updated.

Formatdate-time
deletedAt?string

The time the resource was soft-deleted.

Formatdate-time
misc?

Arbitrary extra data stored with the resource.

name*string
slug*string

Immutable namespace used in MCP tool IDs.

description*string
endpoint_url*string
Formaturi
oauth_remote_connection_id?Identifier

A unique identifier for this resource.

Formatxid
enabled*boolean
toolset_id*string

Stable read-only Toolset ID that assigns all enabled tools from this MCP server to a Robot.

has_bearer_token*boolean

Whether this server has a stored Bearer token. The token value is never returned.

has_oauth_token*boolean

Whether this server is linked to a remote OAuth connection with a stored access token.

last_refreshed_at?string
Formatdate-time
last_error?string
tools*array<>
Example Request
curl -X POST 'https://example.com/api/robots/mcp-servers/string/refresh'
Example Response
{  "id": "string",  "createdAt": "2019-08-24T14:15:22Z",  "updatedAt": "2019-08-24T14:15:22Z",  "deletedAt": "2019-08-24T14:15:22Z",  "misc": {},  "name": "string",  "slug": "string",  "description": "string",  "endpoint_url": "http://example.com",  "oauth_remote_connection_id": "string",  "enabled": true,  "toolset_id": "string",  "has_bearer_token": true,  "has_oauth_token": true,  "last_refreshed_at": "2019-08-24T14:15:22Z",  "last_error": "string",  "tools": [    {      "id": "string",      "remote_name": "string",      "callable_name": "string",      "title": "string",      "description": "string",      "enabled": true,      "available": true,      "last_seen_at": "2019-08-24T14:15:22Z"    }  ]}