bw_create_composite_provider
Create a CompositeProvider (HCPR) as a Union or Join view, optionally adding source providers, or copy an existing structure. Join nodes require inputs; activate the inactive result afterward.
Instructions
Create a CompositeProvider (HCPR). Without copy_from it creates a view node of the given type with the listed source providers attached — entity only, so give them their mappings afterwards with bw_update_composite_provider action "update_mapping". A Union node may be created empty; a JOIN node must be created WITH its sources, since a join node without inputs makes the server dump. With copy_from the server copies view node, inputs and mappings from an existing CompositeProvider. The result is inactive — activate it with bw_activate (object type hcpr).
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": {
"composite_provider_name": "<composite_provider_name>",
"label": "<label>",
"info_area": "<info_area>"
},
"name": "bw_create_composite_provider"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| label | Yes | Description. | |
| inputs | No | Source InfoProviders to attach right away. Required in practice for a Join node. | |
| package | No | Development package (default "$TMP"). | |
| copy_from | No | Copy the structure of this existing CompositeProvider. view_type, inputs and stackable are then irrelevant — they come from the template. | |
| info_area | Yes | InfoArea to create it in (e.g. "AREA_NAME"). | |
| stackable | No | Defaults to false. | |
| view_type | No | View node type. Defaults to "Join". | |
| composite_provider_name | Yes | Name for the new CompositeProvider (e.g. "HCPR_NAME"). |