Skip to content

Glossary: AI Security and Guardrails

Anthropic Messages API

Also written: Claude Messages API, client.messages.create, Message

Anthropic's API for sending messages, a system prompt and tools to Claude and getting a reply back. `ask()` in `llm.py` wraps it.

Where the book teaches it

Related terms

Tool resultStop reason