FetchSatelliteExtensionTools

Updated at:

Retrieves the tool catalog of an environment agent extension by using the connection configuration.

Operation description

Before saving the configuration, temporarily connects to a private MCP server and reads the available tool catalog by using the specified connection parameters.

Try it now

Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.

Test

RAM authorization

No authorization for this operation. If you encounter issues with this operation, contact technical support.

Request syntax

POST /digitalEmployee/{name}/satellites/{satelliteId}/extensionTools HTTP/1.1

Path Parameters

Parameter

Type

Required

Description

Example

name

string

Yes

The name of the digital worker. It must start with a lowercase letter or a digit, contain only lowercase letters, digits, underscores (_), and hyphens (-), and be up to 64 characters in length.

ops-bot

satelliteId

string

Yes

The ID of the environment agent (Satellite). The format is sat- followed by 16 lowercase hexadecimal characters.

sat-0123456789abcdef

Request parameters

Parameter

Type

Required

Description

Example

body

object

No

The connection configuration used to retrieve the tool catalog. The configuration does not need to be saved in advance, and the retrieval result is not saved. String fields do not support 4-byte characters such as emojis.

type

string

Yes

The extension type. Currently, only mcp is supported.

mcp

mcp

object

No

The connection configuration of the MCP server. This parameter is required when type is set to mcp. Currently, only HTTP (Streamable HTTP or HTTP+SSE) connections are supported. The protocol version and transport method are automatically identified. Only the url, headers, and auth fields can be included.

url

string

No

The URL of the MCP server. This parameter is required when type is set to mcp. It must be an absolute URL that starts with http:// or https:// in lowercase, be up to 2,048 bytes in length, and cannot contain user information (user:pass@) or fragments (#). Credentials must be placed in auth or headers.

https://mcp.example.com/mcp

headers

object

No

The additional request headers attached when connecting to the MCP server. The key is the header name and the value is the header value. The name must comply with HTTP token syntax, is case-insensitive, and cannot be repeated. A maximum of 16 items are allowed excluding Authorization. A single name must be up to 64 bytes, a single value must be up to 4 KiB, and the total size of the name and value must not exceed 8 KiB (Authorization is also included in the total). You cannot set the Host, Content-Length, Content-Type, Accept, Connection, Transfer-Encoding, Mcp-Session-Id, MCP-Protocol-Version, Mcp-Method, or Mcp-Name headers, or headers that start with Mcp-Param-.

string

No

The value of the request header. It cannot contain control characters such as carriage returns and line feeds, except for horizontal tabs.

example-value

auth

object

No

The authentication configuration for accessing the MCP server. No authentication is performed if this parameter is not passed or if type is an empty string. If this parameter is configured at the same time as Authorization in headers, the authentication information generated by this field prevails.

type

string

No

The authentication method. Valid values: bearer, basic. The value is case-insensitive. If the value is an empty string, no authentication is performed, and keyInfo must be empty.

bearer

keyInfo

object

No

The authentication information. Keys cannot be repeated. When type is set to bearer, it must include token. The token cannot be empty or contain only whitespace characters, cannot contain control characters, and can be with or without the Bearer prefix. When type is set to basic, it must include username and password. The username cannot be empty and cannot contain colons (:) or control characters. The password cannot be empty or contain only whitespace characters. Other keys do not participate in authentication.

string

No

The value of the authentication information, such as the value of the token, username, or password.

example-token

Response elements

Element

Type

Description

Example

object

The API response data.

requestId

string

The request ID.

0E5B3C2A-1D4F-4A6B-8C9D-7E1F2A3B4C5D

machineId

string

The ID of the machine that performs the retrieval.

c-0123456789abcdef

status

string

The retrieval result. Valid values: READY (retrieval succeeded), ERROR (retrieval failed), UNSUPPORTED_TYPE (the machine does not support the extension type). Failures on the MCP server side, such as connection or authentication failures, are returned in this field while the HTTP status code remains 200.

READY

stage

string

The stage where the failure occurred. Valid values: CONFIG, START, INITIALIZE, LIST_TOOLS. If the retrieval is successful, an empty string is returned.

INITIALIZE

errorCode

string

The error code. Examples: STARTUP_TIMEOUT (retrieval timed out), FETCH_BUSY (too many ongoing retrievals on the machine). If the retrieval is successful, an empty string is returned.

STARTUP_TIMEOUT

errorMessage

string

The error message. It is an English technical message of up to 2 KiB in size, in which credentials are replaced with ***. Callers must not parse its content. If the retrieval is successful, an empty string is returned.

failed to connect to the MCP server: connection refused

tools

array<object>

The retrieved tool catalog. If the retrieval fails, an empty array is returned.

object

A retrieved tool.

name

string

The name of the tool.

search_issues

toolJson

string

The tool definition in the JSON text format of the MCP Tool object. Original numbers must be preserved during parsing.

{"name":"search_issues","description":"Search issues.","inputSchema":{"type":"object"}}

skippedTools

array<object>

The tools that are not provided.

object

A tool that was not provided and the reason.

name

string

The name of the tool.

long_export

reason

string

The reason why the tool is not provided. Valid values: TASK_REQUIRED, INVALID_X_MCP_HEADER, DUPLICATE_NAME, INVALID_NAME, TOO_LARGE.

TASK_REQUIRED

mcp

object

The connection information of the MCP server, which is for display purposes only.

serverInfo

object

The service information self-reported by the MCP server.

name

string

The name of the MCP server.

jira-mcp

version

string

The version of the MCP server.

1.2.0

protocolVersion

string

The MCP protocol version actually used.

2025-06-18

transport

string

The transport method actually used. Valid values: streamable-http, sse.

streamable-http

Examples

Success response

JSON format

{
  "requestId": "0E5B3C2A-1D4F-4A6B-8C9D-7E1F2A3B4C5D",
  "machineId": "c-0123456789abcdef",
  "status": "READY",
  "stage": "INITIALIZE",
  "errorCode": "STARTUP_TIMEOUT",
  "errorMessage": "failed to connect to the MCP server: connection refused",
  "tools": [
    {
      "name": "search_issues",
      "toolJson": "{\"name\":\"search_issues\",\"description\":\"Search issues.\",\"inputSchema\":{\"type\":\"object\"}}"
    }
  ],
  "skippedTools": [
    {
      "name": "long_export",
      "reason": "TASK_REQUIRED"
    }
  ],
  "mcp": {
    "serverInfo": {
      "name": "jira-mcp",
      "version": "1.2.0"
    },
    "protocolVersion": "2025-06-18",
    "transport": "streamable-http"
  }
}

Error codes

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.