openai-client-base 0.12.0

Auto-generated Rust client for the OpenAI API
1
2
3
4
5
6
7
8
9
10
11
12
13
# ToolChoiceAllowed

## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**r#type** | **String** | Allowed tool configuration type. Always `allowed_tools`. | 
**mode** | **String** | Constrains the tools available to the model to a pre-defined set.  `auto` allows the model to pick from among the allowed tools and generate a message.  `required` requires the model to call one or more of the allowed tools.  | 
**tools** | [**Vec<std::collections::HashMap<String, serde_json::Value>>**]std::collections::HashMap.md | A list of tool definitions that the model should be allowed to call.  For the Responses API, the list of tool definitions might look like: ```json [   { \"type\": \"function\", \"name\": \"get_weather\" },   { \"type\": \"mcp\", \"server_label\": \"deepwiki\" },   { \"type\": \"image_generation\" } ] ```  | 

[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)