List tools available to a user Beta
This endpoint is in beta. Its request and response may change.
Lists every tool that a user's connected accounts can call, across all their connections. identifier is required. To narrow the list to chosen connections, providers or tools, use List a user's scoped tools.
Authorization
Authorization: Bearer $TOKEN, an access token from the client credentials grant. See Authentication.
Query parameters
identifierstringrequiredpage_sizeintegerpage_tokenstringCall this endpoint over REST, as the example shows.
scalekit.tools.listAvailableTools
Lists tools that are available for a specific connected account identifier. Returns every tool the user's connected accounts can call, not only the ones you pass to your agent.
scalekit.tools.listAvailableTools( identifier: string, options?: { pageSize?: number; pageToken?: string; },): Promise<ListAvailableToolsResponse>Parameters
identifierstringrequiredpageSizenumberpageTokenstringlistAvailableTools response for pagination.Returns Promise<ListAvailableToolsResponse>.
From @scalekit-sdk/node 2.18.0.
Response 200
next_page_tokenstringprev_page_tokenstringtoolsarray of objectShow 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 or malformed identifier401Authentication required - missing or invalid access token404Identifier not found