tool result

The message your code sends back after running a tool call, matched to it by id, which the model reads before continuing.

In more detail

Return failures as results marked as errors, with a message the model can act on, rather than raising them. Keep results small and paginated, because they stay in the context for the rest of the conversation.

Related terms

Taught in

References

Certification courses