Add a Toolshed item
install_toolshed_itemAdds one Toolshed item to this business as its own copy, as Add in Automations > Toolshed does. A shared flow or a Sergio starter lands as a draft (off), with Sergio's autonomy dropped so a person sets who sends; a Scanner is adopted on, watching for you; a handbook job is written into this business's handbook. versionId is the item's id from the Toolshed listing (GET /api/marketplace/browse): a shared version's uuid, or a Sergio item's sergio:. update: true moves an already-added Scanner to the item's current version. Adding an item already added returns the existing copy (alreadyInstalled). Nothing is sent. Pass the same idempotency_key when retrying.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"versionId": "<versionId>",
"idempotency_key": "<idempotency_key>"
},
"name": "install_toolshed_item"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| update | No | ||
| versionId | Yes | ||
| idempotency_key | Yes | Your id for this operation (8-128 of A-Z a-z 0-9 . _ : -). Reuse it on every retry of the same operation; use a new one for a new operation. |