Skip to main content
Retrieves a paginated list of all assistant tools for a specific assistant using the Rapida API.
For more authentication options, see: https://doc.rapida.ai/api-reference/authentication

Parameters

connectionConfig
ConnectionConfig
required
Configuration for the client connection.
request
GetAllAssistantToolRequest
required

Usage

from rapida import (
    ConnectionConfig,
    GetAssistantToolRequest,
    get_assistant_tool,
)
from pprint import pprint
connection_config = ConnectionConfig.default_connection_config(
    ConnectionConfig.with_sdk("{rapida-api-key}")
)
response = get_all_assistant_tool(
    client_cfg=connection_config,
    request=GetAllAssistantToolRequest(
        assistantId="{assistant_id}",
        paginate=Paginate(page=0, pageSize=20),
        # criterias=[Criteria(key="KEY", value="VALUE", logic="should")],
    ),
)
pprint(response)

Response

code
int32
Numeric status code for the operation.
success
boolean
Indicates whether the operation was successful.
data
AssistantTool[]
Array of assistant tools.
paginated
Paginated
Pagination information for the results.
error
object
Error information, if applicable.