Tool Picker Demo | AI SDK Agents
Agent tools
MCP servers
Tools
6
of 7 tools on
About 382 tokens a request
Post to Slack asks before it runs.
Create issue
File an issue in a team's backlog, with a title and a body.
List deploys
List production deploys between two dates.
Open pull request
Open a pull request from a branch, with a summary of the change.
Post to Slack
Post a message to a channel under the agent's name.
Asks first
Query analytics
Read a product metric over a date range, split by a property.
Refund payment
Refund a payment in full or in part, back to the customer's card.
Asks sometimes
Search logs
Search application logs by query, level, and time.
// streamText({ model, tools, ...options }) { "activeTools": ["create_issue", "list_deploys", "post_to_slack", "query_analytics", "refund_payment", "search_logs"], "toolApproval": { "create_issue": "not-applicable", "list_deploys": "not-applicable", "post_to_slack": "user-approval", "query_analytics": "not-applicable", "search_logs": "not-applicable" } }