From 43107b15b9bcff51ef1c5391c273fd1a747f6d0a Mon Sep 17 00:00:00 2001 From: Parth Sareen Date: Mon, 7 Jul 2025 16:53:13 -0700 Subject: [PATCH] add `tool_name` to api.md (#11326) --- docs/api.md | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/api.md b/docs/api.md index 2460e6ce..41858885 100644 --- a/docs/api.md +++ b/docs/api.md @@ -500,6 +500,7 @@ The `message` object has the following fields: - `thinking`: (for thinking models) the model's thinking process - `images` (optional): a list of images to include in the message (for multimodal models such as `llava`) - `tool_calls` (optional): a list of tools in JSON that the model wants to use +- `tool_name` (optional): add the name of the tool that was executed to inform the model of the result Advanced parameters (optional):