Retrieves detailed information about a specific assistant tool using the Rapida API.
Parameters
Configuration for the client connection.
request
GetAssistantToolRequest
required
The unique identifier of the assistant tool to retrieve.
The unique identifier of the assistant that owns the tool.
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_assistant_tool(
client_cfg=connection_config,
request=GetAssistantToolRequest(
id="{assistant_tool_id}", assistantId="{assistant_id}"
),
)
pprint(response)
Response
Numeric status code for the operation.
Indicates whether the operation was successful.
Detailed information about the assistant tool.
Unique identifier for the assistant tool.
Identifier of the assistant that owns this tool.
Name of the assistant tool.
Description of the tool’s functionality.
Tool fields configuration as a structured object.
Method used for tool execution.
Array of execution configuration options.
Unique identifier for the metadata entry.
Current status of the tool.
Timestamp when the tool was created.
Timestamp when the tool was last updated.
Error information, if applicable.
Human-readable error message.