Agent Tools
Add Tool
Add and configure a tool for an AI Agent
Add Tool Command
The agent tools add
command adds and configures a new tool for an AI Agent, enabling additional capabilities like Notion integration, Slack communication, etc.
Usage
Options
Option | Description |
---|---|
--config <json> | Optional. Tool-specific configuration in JSON format |
--auth <auth_type> | Optional. Authentication type: oauth2 , api_key , basic |
Examples
Add Notion Tool
Response:
Add GitHub Tool with API Key
Add Slack Tool
Tool-specific Configurations
Different tools require different configurations. Here are some common tools and their configurations:
Notion
Slack
GitHub
Notes
- Authentication:
- OAuth2 will open a browser for authentication
- API keys can be provided via config or environment variables
- Basic auth requires username and password
- Configuration:
- Each tool has its own required and optional settings
- Use
xpander agent tools list
to see available tools - Configuration can be updated later using this same command
- Permissions:
- Tools are configured with least-privilege access by default
- Expand permissions only as needed
- Regular audit logs are available for tool usage