update-routine
Modify a specific routine by updating its name, description, or steps, while preserving the existing schema. Verify changes with the user before applying updates.
Instructions
Update a routine by name. Factor in the existing schema and update only the portion specified by the user. Always confirm with user that they want to update it. User may supply a name that's not exactly as how it's stored. Use the load-routines tool to get the list of all routines.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
description | Yes | Description of the routine. | |
name | Yes | Exact name of the routine to be updated. | |
steps | Yes | Steps of the routine. |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"description": {
"description": "Description of the routine.",
"type": "string"
},
"name": {
"description": "Exact name of the routine to be updated.",
"type": "string"
},
"steps": {
"description": "Steps of the routine.",
"items": {
"additionalProperties": false,
"properties": {
"description": {
"description": "Description of the step to help the LLM understand the purpose of the tool call",
"type": "string"
},
"params": {
"additionalProperties": true,
"description": "Parameters used to call the tool, based on the context some of these should be swapped out with dynamic values",
"properties": {},
"type": "object"
},
"tool": {
"description": "The tool used with name, input schema used",
"type": "string"
}
},
"required": [
"description",
"tool",
"params"
],
"type": "object"
},
"type": "array"
}
},
"required": [
"name",
"description",
"steps"
],
"type": "object"
}