build-get_domain_metadata
Fetch the emitted DomainMetadata JSON for one declaration, giving code generators the fields, actions, events, relationships and system flags as authoritative AST data, plus schemaVersion and sourceDigest.
Instructions
Fetch the DomainMetadata JSON the annotation processor emitted for one declaration of this project — the authoritative AST the code generators consume, including fields, actions, events, relationships and the system-field flags. name is the Java simple name (e.g. 'Station'), as listed by build-list_domains. Returns the record verbatim, plus the schemaVersion and (when the build could compute one) the ADR-042 sourceDigest.
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": {
"name": "<name>"
},
"name": "build-get_domain_metadata"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | No | Which kind of declaration to read. Defaults to 'domain'. | |
| name | Yes | Java simple name of the entity, enum, capability or view. |