function_calling
Enables AI agents to use NIM models for tool calling, allowing the model to autonomously choose functions and arguments.
Instructions
Use NIM models with tool/function calling capabilities. The model will decide which function to call and with what arguments.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"messages": "<messages>",
"tools": "<tools>"
},
"name": "function_calling"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | No | ||
| tools | Yes | ||
| messages | Yes | ||
| max_tokens | No | ||
| temperature | No | ||
| tool_choice | No |