create_resource
Create a new resource for your project by specifying name and type: staff, equipment, material, or group. Optionally add email or cost per use.
Instructions
Create a new resource at the document's resource root.
Args:
name: Resource name.
type: One of "staff" (default), "equipment", "material", "group".
email: Optional email address (relevant mainly for staff).
cost_per_use: Optional cost in the document's currency. Stored
as a Decimal — writes go through Decimal.fromString(...)
so float inputs round-trip without Number precision issues.
Returns:
JSON {id, name, type, email, cost_per_use} for the new resource.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| type | No | staff | |
| No | |||
| cost_per_use | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |