Create Resource
create_resourceCreate a new resource on a Connhex JSON:API service by specifying resource type and attributes from the schema.
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.
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 |