Skip to content

Commit 43107b1

Browse files
authored
add tool_name to api.md (ollama#11326)
1 parent 1f91cb0 commit 43107b1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

docs/api.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -500,6 +500,7 @@ The `message` object has the following fields:
500500
- `thinking`: (for thinking models) the model's thinking process
501501
- `images` (optional): a list of images to include in the message (for multimodal models such as `llava`)
502502
- `tool_calls` (optional): a list of tools in JSON that the model wants to use
503+
- `tool_name` (optional): add the name of the tool that was executed to inform the model of the result
503504

504505
Advanced parameters (optional):
505506

0 commit comments

Comments
 (0)