ACIToolkit
init
- api_key (Optional[str]): The API key for authentication. (default: :obj:
None
) - base_url (Optional[str]): The base URL for the ACI API. (default: :obj:
None
) - linked_account_owner_id (Optional[str]): ID of the owner of the linked account, e.g., “johndoe” (default: :obj:
None
) - timeout (Optional[float]): Request timeout. (default: :obj:
None
)
search_tool
- intent (Optional[str]): Search results will be sorted by relevance to this intent. (default: :obj:
None
) - allowed_app_only (bool): If true, only return apps that are allowed by the agent/accessor, identified by the api key. (default: :obj:
True
) - include_functions (bool): If true, include functions (name and description) in the search results. (default: :obj:
False
) - categories (Optional[List[str]]): List of categories to filter the search results. Defaults to an empty list. (default: :obj:
None
) - limit (Optional[int]): Maximum number of results to return. (default: :obj:
10
) - offset (Optional[int]): Offset for pagination. (default: :obj:
0
)
list_configured_apps
- app_names (Optional[List[str]]): List of app names to filter the results. (default: :obj:
None
) - limit (Optional[int]): Maximum number of results to return. (default: :obj:
10
) - offset (Optional[int]): Offset for pagination. (default: :obj:
0
) (default: 0)
configure_app
- app_name (str): Name of the app to configure.
get_app_configuration
- app_name (str): Name of the app to get configuration for.
delete_app
- app_name (str): Name of the app to delete.
link_account
- app_name (str): Name of the app to link the account to.
get_app_details
- app_name (str): Name of the app to get details for.
get_linked_accounts
- app_name (str): Name of the app to get linked accounts for.
enable_linked_account
- linked_account_id (str): ID of the linked account to enable.
disable_linked_account
- linked_account_id (str): ID of the linked account to disable.
delete_linked_account
- linked_account_id (str): ID of the linked account to delete.
function_definition
- app_name (str): Name of the app to get function definition for
search_function
- app_names (Optional[List[str]]): List of app names to filter the search results. (default: :obj:
None
) - intent (Optional[str]): The search query/intent. (default: :obj:
None
) - allowed_apps_only (bool): If true, only return functions from allowed apps. (default: :obj:
True
) - limit (Optional[int]): Maximum number of results to return. (default: :obj:
10
) - offset (Optional[int]): Offset for pagination. (default: :obj:
0
)
execute_function
- function_name (str): Name of the function to execute.
- function_arguments (Dict): Arguments to pass to the function.
- linked_account_owner_id (str): To specify the end-user (account owner) on behalf of whom you want to execute functions You need to first link corresponding account with the same owner id in the ACI dashboard (https://platform.aci.dev).
- allowed_apps_only (bool): If true, only returns functions/apps that are allowed to be used by the agent/accessor, identified by the api key. (default: :obj:
False
)