Create Manufacturing Resource
create_manufacturing_resourceCreate a manufacturing resource in Connhex using schema-defined attributes and optional relationships. Call get_schema first to discover valid fields.
Instructions
Create a new resource on a Connhex JSON:API service.
Use schema fields for attributes and relationships.
If available, call the get_schema tool first to discover valid resource types, attributes, and relationships.
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": {
"resource_type": "<resource_type>",
"attributes": "<attributes>"
},
"name": "create_manufacturing_resource"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| attributes | Yes | Resource attributes payload. Field names must come from get_schema. | |
| relationships | No | Optional JSON:API relationships payload. | |
| resource_type | Yes | Resource type name from get_schema, e.g. "devices" or "plants". |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| type | Yes |