assetcore_register_class_shape
AssetCore is a deterministic structured memory substrate. It stores all world state explicitly in containers and modifies that state through atomic, replayable transactions. Register a class shape definition so grid placements can enforce geometry rules.
Details
AssetCore is a deterministic structured memory substrate. It stores all world state explicitly in containers and modifies that state through atomic, replayable transactions. Register a class shape definition so grid placements can enforce geometry rules.
Calls POST /v1/write/namespaces/{namespace_id}/register_class_shape on the write daemon. Input fields: class_id, stack_key?, shape, idempotency_key?. The daemon enforces RBAC, policy class gating, and quota; denied requests return structured errors with auth_reason.
Protocols
- MCP
- OpenAI
- Gemini
Input Schema
{
"properties": {
"class_id": {
"description": "Class receiving the registration.",
"maxLength": 128,
"minLength": 1,
"pattern": "^[A-Za-z0-9._~\\-]+$",
"type": "string"
},
"idempotency_key": {
"description": "Optional idempotency key to deduplicate retries",
"type": "string"
},
"namespace_id": {
"description": "Required namespace identifier for all namespaced operations.",
"minimum": 1,
"type": "integer"
},
"shape": {
"description": "Geometric footprint for the class variant.",
"properties": {
"height": {
"description": "Height in grid cells.",
"minimum": 1,
"type": "integer"
},
"width": {
"description": "Width in grid cells.",
"minimum": 1,
"type": "integer"
}
},
"required": [
"width",
"height"
],
"type": "object"
},
"stack_key": {
"description": "Optional variant discriminator.",
"oneOf": [
{
"type": "null"
},
{
"minimum": 0,
"type": "integer"
}
]
}
},
"required": [
"class_id",
"shape",
"namespace_id"
],
"type": "object"
}
Examples
No examples are currently available for this tool.