Custom Tools
sim custom-tools is also spelled sim custom-tool.
Every command below also accepts the global options.
Create custom tool
sim custom-tools create [options]Options
| Option | Required | Description |
|---|---|---|
--title <value> | Yes | Display title, unique within the workspace. |
--schema <json|@file> | Yes | OpenAI function schema: {"type":"function","function":{"name":"...","parameters":{"type":"object","properties":{}}}} (JSON, or @path / @- to read a file or stdin). |
--code <value> | Yes | Tool implementation executed in the sandboxed function runtime. |
Delete custom tool
sim custom-tools delete <id> [options]Arguments
| Argument | Required | Description |
|---|---|---|
id | Yes | Unique custom tool identifier. |
Options
| Option | Required | Description |
|---|---|---|
-y, --yes | No | Skip the confirmation. |
Get custom tool
sim custom-tools get <id>Arguments
| Argument | Required | Description |
|---|---|---|
id | Yes | Unique custom tool identifier. |
List custom tools
sim custom-tools list [options]Options
| Option | Required | Description |
|---|---|---|
--search <value> | No | Case-insensitive substring match against the tool title. |
--sort-by <value> | No | Field used to sort the result. Accepted values: title, createdAt, updatedAt. |
--sort-order <value> | No | Sort direction. Accepted values: asc, desc. |
--limit <n> | No | Maximum items to return (0 for everything). Defaults to 100. |
Update custom tool
sim custom-tools update <id> [options]Arguments
| Argument | Required | Description |
|---|---|---|
id | Yes | Unique custom tool identifier. |
Options
| Option | Required | Description |
|---|---|---|
--title <value> | No | New display title for the tool. |
--schema <json|@file> | No | OpenAI function schema: {"type":"function","function":{"name":"...","parameters":{"type":"object","properties":{}}}} (JSON, or @path / @- to read a file or stdin). |
--code <value> | No | Replacement tool implementation. |