how to call another tool inside one tool?
# ask-ai
k
how to call another tool inside one tool?
t
Thanks for reaching out, Saurav. I'm an AI assistant and I'm here to help. Give me a moment while I research this topic.
LiveKit doesn’t have specific docs showing how one tool can call another directly, but usually, tools are set up with
@function_tool
and added to an agent’s tool list—then the LLM can call them by name. If you’re looking to chain tools together, here are a couple of ideas: • You could use the same function-calling approach inside one tool to trigger another. • Check if the
RunContext
lets you access the agent’s tools directly to call them. If you have a particular scenario in mind or want me to explain anything more, just let me know—I’m happy to help!