update_assistant
Update an existing assistant by providing only the fields to change. Use 0 or -1 to clear temperature or max_tokens.
Instructions
Modify an existing assistant.
Provide only the fields to change; empty strings leave text fields unchanged. Use a special sentinel to clear optional values: temperature/max_tokens: pass 0 or -1 to reset to null.
Args: assistant_id: Assistant id to update. name: New name. description: New description. provider: New provider id. model: New model name. system_prompt: New system prompt. temperature: New temperature (0.0-2.0); -1 clears. max_tokens: New max tokens; 0 clears. capabilities: JSON list replacing current capabilities. permissions: JSON list replacing current permissions. metadata: JSON object replacing current metadata. enabled: True/False to enable or disable.
Returns: JSON result.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| model | No | ||
| enabled | No | ||
| metadata | No | ||
| provider | No | ||
| max_tokens | No | ||
| description | No | ||
| permissions | No | ||
| temperature | No | ||
| assistant_id | Yes | ||
| capabilities | No | ||
| system_prompt | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |