Remove Rate Component
remove_rate_componentRemove a single rate component by key from a DRAFT ComponentPriced price book. Idempotent — removing a key that does not exist succeeds silently.
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": {
"bookId": "<bookId>",
"componentKey": "<componentKey>"
},
"name": "remove_rate_component"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bookId | Yes | The DRAFT ComponentPriced price book id (GUID). | |
| componentKey | Yes | The component key to remove. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | No | ||
| bookId | No | ||
| removedKey | No | ||
| componentKeys | No | ||
| totalComponents | No |