Wymagania usługi
get_service_requirementsPURPOSE: Returns the details of ONE service: unit (piece / m2 / mattress side), allowed quantity, add-on names and prices, short description and FAQ. WHEN TO USE: When the request is ambiguous (e.g. which corner sofa size, carpet area in m2, which add-ons exist for this service). WHEN NOT TO USE: Not for prices of an order (use calculate_quote) or availability. REQUIRED: service (id from list_upholstery_services). SIDE EFFECTS: none (read-only).
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": {
"service": "<service>"
},
"name": "get_service_requirements"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| service | Yes | Service id from list_upholstery_services, e.g. pranie_naroznika_l_4_5_os | |
| session_id | No | Optional, ignored by this tool. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | ||
| code | No | ||
| unit | No | ||
| error | No | Stable machine-readable error id when success=false, e.g. missing_required_fields, unsupported_postcode, no_availability | |
| message | No | ||
| name_pl | No | ||
| success | Yes | true = operation done / data returned; false = see error | |
| session_id | No | ||
| price_model | No | ||
| missing_fields | No |