createContractPhasePricing
createContractPhasePricingAssign pricing to a contract phase by referencing an existing pricing ID or defining inline pricing, paired with a product.
Instructions
Add pricing to a contract phase. REQUIRED: pass EXACTLY ONE of pricing_id (reference an existing product pricing) OR pricing (inline pricing object) — never both, never neither. Pair with product_id (existing product) or inline product to associate with a product.
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": {
"contractId": "<contractId>",
"phaseId": "<phaseId>"
},
"name": "createContractPhasePricing"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| phaseId | Yes | The unique identifier (UUID) of the phase to add pricing to. | |
| plan_id | No | UUID of the plan template this pricing derives from. | |
| pricing | No | Inline pricing configuration object. Either this or pricing_id must be provided. | |
| product | No | Inline product definition object (name, description, sku, tax_codes, etc.). | |
| end_date | No | Pricing end date in ISO 8601 format. | |
| contractId | Yes | The unique identifier (UUID) of the contract. | |
| pricing_id | No | UUID of an existing product pricing to reference. Either this or inline pricing must be provided. | |
| product_id | No | UUID of the product this pricing is for. | |
| start_date | No | Pricing start date in ISO 8601 format. | |
| anchor_date | No | Billing anchor date for this pricing. | |
| custom_data | No | Custom metadata for this pricing. | |
| description | No | Description for this pricing entry. | |
| external_id | No | External identifier for this pricing entry. | |
| __userContext | No | Internal user context for multi-tenant authentication and approval workflow |