Create or edit a company action's draft with the expected version
summer_actions_company_saveCreate or edit a company action's draft with the expected version. An API action (runner http) names the request Summer sends: method, https host, path, body and the saved credential name. A task action (runner agent) describes work the agent does with its own tools, such as a procedure or a website task. The agent sees only published revisions. Saving never publishes.
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": {
"company": "<company>",
"environment": "<environment>",
"key": "<key>",
"definition": "<definition>",
"expected_version": "<expected_version>"
},
"name": "summer_actions_company_save"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes | ||
| company | Yes | ||
| definition | Yes | The action definition. Read docs/design/summer-action-bindings/05-company-actions.md for the fields. | |
| environment | Yes | ||
| idempotency_key | No | Reuse the same key when retrying the same change | |
| expected_version | Yes | The version you read; 0 for a new action |