List a user's scoped tools Beta
This endpoint is in beta. Its request and response may change.
Tools already bound to one connected-account identifier. Use this when you need the list a user or agent is authorized to call (the list you pass to an LLM). identifier is required, and so is at least one filter.* field (provider, tool name or connection name): without one the API returns INVALID_ARGUMENT.
Authorization
Authorization: Bearer $TOKEN, an access token from the client credentials grant. See Authentication.
Query parameters
identifierstringrequiredfilter.connection_namesarray of stringfilter.providersarray of stringfilter.tool_namesarray of stringpage_sizeintegerpage_tokenstringscalekit_client.tools.list_scoped_tools
Lists the tools a user can call, narrowed by the filter.
scalekit_client.tools.list_scoped_tools( identifier: str, filter: Optional[ScopedToolFilter] = None, page_size: Optional[int] = None, page_token: Optional[str] = None,) -> Tuple[ListScopedToolsResponse, grpc.Call]Parameters
identifierstrrequiredfilterOptional[ScopedToolFilter]requiredpage_sizeOptional[int]page_tokenOptional[str]Returns Tuple[ListScopedToolsResponse, grpc.Call]: The response and the gRPC call. Unpack it as page, _ = ....
From scalekit-sdk-python 2.19.1.
scalekit.tools.listScopedTools
Lists tools that are scoped to a specific connected account identifier.
scalekit.tools.listScopedTools( identifier: string, options: { filter: MessageInitShape<typeof ScopedToolFilterSchema>; pageSize?: number; pageToken?: string; },): Promise<ListScopedToolsResponse>Parameters
identifierstringrequiredfilterMessageInitShape<typeof ScopedToolFilterSchema>requiredpageSizenumberpageTokenstringlistScopedTools response for pagination.Returns Promise<ListScopedToolsResponse>.
From @scalekit-sdk/node 2.18.0.
Response 200
next_page_tokenstringprev_page_tokenstringtoolsarray of objectShow 3 child attributes
connected_account_idstringidentifierstringtoolobjectShow 7 child attributes
definitionobjectidstringis_defaultbooleanmetadataobjectproviderstringtagsarray of stringupdated_atstringtotal_sizeintegerErrors
Every error has the same body: code, message and details. See Errors and rate limits.
400Invalid request - missing identifier or malformed filter/pagination parameters401Authentication required - missing or invalid access token