Available Tools
Phoenix comes with a comprehensive set of tools that your AI agents can use to interact with the real world.
Filter by Category
getWeather
"Get weather for San Francisco"
executeShell
"ls -la /home/user"
generateImage
"Generate a sunset over mountains"
analyzeSrcStructureTool
"Analyze React project structure"
musicMood
"Analyze mood of uploaded song"
sendEmail
"Send project update email"
readEmail
"Check latest unread emails"
webSearch
"Search for latest AI news"
scrapeDocsTool
"Extract content from website"
fetchFlightDetails
"Track flight AA123 status"
fetchYouTubeVideo
"Get video details and transcript"
1. Dynamic Selection
Tools are dynamically selected at runtime based on your configuration. You can enable or disable specific tools for each agent session.
2. Automatic Invocation
The AI model automatically decides when and how to use tools based on the conversation context and user requests.
3. Real-time Execution
Tools execute in real-time and return results that the AI can use to provide more accurate and helpful responses.
// Example custom tool structure
export const customTool = {
id: 'myCustomTool',
name: 'My Custom Tool',
description: 'Description of what this tool does',
parameters: {
type: 'object',
properties: {
input: {
type: 'string',
description: 'Input parameter description'
}
},
required: ['input']
},
execute: async (params) => {
// Tool implementation
return { result: 'Tool output' }
}
}