Add or edit an offering
save_offeringAdd an offering to the catalog, or change one. Without offering_id this adds an offering: name, category and sell_rate are required. With offering_id (from list_offerings) it changes that offering: only the fields you pass change, and the old values are overwritten. sell_rate and cogs are amounts in the org currency per unit (e.g. 450 or 450.50). Set is_active=false to retire an offering instead of deleting it. is_public=true lists it on the organization's public storefront, where anyone on the internet can see its name, description and price, and false takes it down; a public offering's new name, description and price show there right away. Returns the offering. Org admins/owners only. Runs on the first call; there is no confirmation step.
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": "save_offering"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cogs | No | cost of goods per unit, same currency as sell_rate | |
| name | No | offering name (required when adding) | |
| unit | No | pricing unit (default DAY on create; unchanged when omitted on update) | |
| category | No | what kind of offering (required when adding) | |
| is_active | No | false retires it from new quotes | |
| is_public | No | true lists it on the public storefront | |
| sell_rate | No | price per unit (required when adding) | |
| description | No | customer-facing description | |
| offering_id | No | change this offering (id from list_offerings); omit to add one | |
| invoice_label | No | label printed on invoice lines | |
| organization_id | No | organization to act in, an id from get_me; omit to use your active organization |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | true on success (including confirmation_required prompts) | |
| data | No | the API response { status (HTTP status), data: the offering: { id, organization_id, name, description, category, unit, sell_rate, cogs, margin_pct, is_active, is_public, invoice_label, source, history_sample_size, template_use_count, created_at, updated_at } } | |
| error | No | when ok is false |