Open main menu
Article
Quizzes
Tools
EN
Article
Quizzes
Tools
All quizzes
/
AI Tools & Tool Calling
/
How do you...
How do you pass tools to Claude via the Anthropic Messages API?
By including a top-level "tools" array in the API request body, where each element is a tool definition object
By embedding tool definitions inside the system prompt as XML tags
By sending a separate tool registration request to the /tools endpoint before the main request
By appending tool definitions as JSON in the last user message
Submit answers