prepend
Adds a value to the start of an array, returning the new array. If the value is an array, adds each item individually for a flat result.
Instructions
Given an Array and a Value, this action adds the Value as the first item in the Array and returns the resulting Array. If an Array is supplied as the Value, a flat array will be returned with each of the items prepended.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "prepend"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||