Skip to content
Scalekit Docs
Talk to an Engineer Dashboard

List a user's scoped tools Beta

GET/api/v1/tools/scoped

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

identifierstringrequired
Your app's ID for the user, the same value you used when the user connected. Use a stable internal ID, not an email address.
filter.connection_namesarray of string
Filter by one or more connection names
filter.providersarray of string
Filter by one or more tool providers
filter.tool_namesarray of string
Filter by one or more tool names
page_sizeinteger
Maximum number of tools to return per page
page_tokenstring
Token from a previous response for pagination

Response 200

next_page_tokenstring
Token for fetching the next page of tools
prev_page_tokenstring
Token for fetching the previous page of tools
toolsarray of object
List of tools scoped to the given connected account identifier
Show 3 child attributes
connected_account_idstring
ID of the connected account for this scoped tool
identifierstring
Your app's ID for the user, the value passed when the account was created.
toolobject
The underlying tool definition
Show 7 child attributes
definitionobject
Tool definition in structured format
idstring
Unique ID of the tool. Immutable and read-only.
is_defaultboolean
Marks this tool as the default version for the combination. Read-only.
metadataobject
Additional metadata about the tool
providerstring
Provider name (e.g. GOOGLE). Read-only.
tagsarray of string
Tags for categorization or filtering
updated_atstring
Timestamp when the tool was last updated. Read-only.
total_sizeinteger
Total number of tools matching the query

Errors

Every error has the same body: code, message and details. See Errors and rate limits.

400Invalid request - missing identifier or malformed filter/pagination parameters
401Authentication required - missing or invalid access token

Used in