Tools

Every command below also accepts the global options.

Run one built-in tool and print what it produced

sim tools execute <toolId> [options]

Run one built-in tool and print what it produced (OAuth login or personal API key required)

Arguments

ArgumentRequiredDescription
toolIdYesTool identifier. An unversioned name resolves to the newest version, and the response echoes the resolved id.

Options

OptionRequiredDescription
--input <json|@file>NoTool arguments as JSON, keyed by the parameter ids sim tools get &lt;toolId&gt; lists (JSON, or @path / @- to read a file or stdin).
--credential-id <value>NoCredential to authenticate with, required for OAuth tools.
--timeout <value>NoSeconds to wait before abandoning the call.

Get tool

sim tools get <toolId>

Arguments

ArgumentRequiredDescription
toolIdYesTool identifier. An unversioned name resolves to the newest version, and the response echoes the resolved id.

List tools

sim tools list [options]

Options

OptionRequiredDescription
--search <value>NoCase-insensitive substring match against the tool id, name, and description.
--hosted-api-key <value>NoRestrict to tools by how their API key is supplied. Accepted values: always, conditional, none.
--oauth-provider <value>NoRestrict to tools that authenticate against this OAuth service.
--sort-by <value>NoField used to sort the result. Sorting by name is case-sensitive and follows the storage collation, so do not rely on a case-insensitive order. Accepted values: id, name.
--sort-order <value>NoSort direction. Accepted values: asc, desc.
--limit <n>NoMaximum items to return (0 for everything). Defaults to 0.