register_schema
Register a new schema or schema version. Supports both global and user-specific schemas.
Instructions
Register a new schema or schema version. Supports both global and user-specific schemas.
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": {
"entity_type": "<entity_type>",
"schema_definition": "<schema_definition>",
"reducer_config": "<reducer_config>"
},
"name": "register_schema"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| force | No | Bypass the entity-type naming guards (forbidden test-artifact patterns and the plural-name guard) for this call only. Required when entity_type is rejected with a message naming "force: true" as the remedy — e.g. a name the plural guard misclassifies (like "hypothesis"). Does not affect any other validation. | |
| user_id | No | User ID for user-specific schema (required if user_specific=true) | |
| activate | No | ||
| entity_type | Yes | ||
| user_specific | No | ||
| reducer_config | Yes | Per-field conflict-resolution config. merge_policies maps each field to a strategy: last_write (default — latest observed_at wins), highest_priority (the observation with the largest source_priority wins), most_specific, or merge_array; with an optional tie_breaker (observed_at | source_priority). Set highest_priority to honor source_priority — without it, source_priority is stored but ignored. | |
| schema_version | No | 1.0 | |
| schema_definition | Yes | Schema definition with fields object |