Reference
Agent tools reference
What the live agent can call and how to extend it.
Available tools
qualify_lead(name, company, need, budget)— writes a scored lead row.analyze_sentiment(text)— returns { sentiment, score }.draft_whatsapp_reply(inquiry, tone)— returns a suggested reply.schedule_appointment(contact, service, when)— creates an appointment row.lookup_workflow_status(workflow)— reads recent runs from the ops table.
Adding your own
Define an AI SDK tool() with a Zod inputSchema and an execute handler. Keep tools narrow: one verb, one resource, one clear return shape. The agent will figure out when to call it from the description alone.
Related