mirror of https://github.com/ollama/ollama
add `tool_name` to api.md (#11326)
This commit is contained in:
parent
1f91cb0c8c
commit
43107b15b9
|
|
@ -500,6 +500,7 @@ The `message` object has the following fields:
|
||||||
- `thinking`: (for thinking models) the model's thinking process
|
- `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`)
|
- `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_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):
|
Advanced parameters (optional):
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue