create-routine
Design custom workflows by combining multiple tool actions into reusable routines. Streamline repetitive tasks by defining steps, inputs, and outputs for automated execution.
Instructions
Create a custom routine from recently run actions. Inspect recently run tools
Input Schema
Name | Required | Description | Default |
---|---|---|---|
description | Yes | Description of the tool, provide as much context as possible so that when user calls the tool again the LLM can follow the instruction to complete the task with different set of inputs | |
name | Yes | Name of the custom tool to be created | |
steps | Yes |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"description": {
"description": "Description of the tool, provide as much context as possible so that when user calls the tool again the LLM can follow the instruction to complete the task with different set of inputs",
"type": "string"
},
"name": {
"description": "Name of the custom tool to be created",
"type": "string"
},
"steps": {
"items": {
"additionalProperties": false,
"description": "Each step of the routine is a tool call that will get executed and returned the result to feed into the next step",
"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"
}