pydo.gateway_tools.list()
Generated on 13 Nov 2026
from pydo version
v0.46.0
Usage
client.gateway_tools.list(
x_session_id=None,
x_endpoint_id=None,
x_actor_id=None,
page_size=20,
page_token=None,
if_none_match=None,
)Description
Lists the catalog tools that a session can call, ordered by name. The list applies the session’s tools selection and omits tools that its policy always denies.
Each page includes an ETag header. Send it in If-None-Match to receive 304 Not Modified while the page is unchanged.
Parameters
x_session_idstring optionalThe session to act in: the UUID at the end of the session's
sessionUrnandmcpUrl. For a pinned endpoint version, use the session UUID at the end of itsmcp_url, not the composite version ID. The session must belong to the authenticated user and team. Send either this header orX-Endpoint-Id, not both; both returns 400. With neither, the request uses your default endpoint when default endpoints are enabled for your team, and otherwise returns 403.x_endpoint_idstring optionalThe endpoint to act in, as a lowercase endpoint UUID. The request uses the endpoint's current head version, which the response reports in
X-Action-Gateway-Endpoint-Version. The endpoint must belong to the authenticated user and team; an unknown or inaccessible endpoint returns 404. Send either this header orX-Session-Id, not both. A malformed value or more than one value returns 400.x_actor_idstring optionalThe actor you expect the session or endpoint to be bound to. It does not select an actor or connections; those come from the session's or endpoint's
actor_id. When sent, it must equal that binding. A different value, including any value for a target with no actor, returns 403 with the message "The session is not bound to the request's actor."page_sizeinteger optionalThe number of tools returned per page, from 1 to 100. Defaults to 20 when omitted. Other values are rejected with 400.
page_tokenstring optionalThe
next_page_tokenfrom the previous response. A token is only valid for the session that received it.if_none_matchstring optionalThe
ETagfrom a previous response for the same page. If the page is unchanged, the response is304 Not Modifiedwith no body.
Response Example
More Information
See /tools in the API reference for additional detail on responses, headers, parameters, and more.