openai
is used for compatibility with OpenAI-compatible APIs, including SambaNova’s API endpoints.@app.tool()
is a decorator that exposes functions as callable tools via MCP. You can register multiple tools and handle complex inputs with type annotations.