{"ok":true,"site":{"host":"nivra-psi.vercel.app","url":"https://nivra-psi.vercel.app/","type":"live","desc":"Nivra","tools":[{"name":"get_architecture","kind":"answer","impl":"imperative","description":"Read Nivra's active structured architecture, including elements, relations, boundaries, constraints, findings, ownership, and deployment metadata. Visual layout is excluded.","title":"Get architecture","annotations":{"readOnlyHint":true},"inputSchema":{"type":"object","properties":{},"additionalProperties":false},"hasHandler":true,"hasExecute":true,"__source":"spec","executable":true,"handlerField":"execute"},{"name":"inspect_element","kind":"answer","impl":"imperative","description":"Inspect one architecture element and return its children, incoming and outgoing relations, constraints, and findings.","title":"Inspect architecture element","annotations":{"readOnlyHint":true},"inputSchema":{"type":"object","properties":{"elementId":{"type":"string","description":"Stable ID of the architecture element to inspect."}},"required":["elementId"],"additionalProperties":false},"hasHandler":true,"hasExecute":true,"__source":"spec","executable":true,"handlerField":"execute"},{"name":"show_architecture_view","kind":"act","impl":"imperative","description":"Open an architecture view in the shared Nivra workspace and optionally focus elements or relations visible in that view.","title":"Show architecture view","annotations":{"readOnlyHint":false},"inputSchema":{"type":"object","properties":{"viewId":{"type":"string","description":"Stable ID of the architecture view to show."},"focusElementIds":{"type":"array","items":{"type":"string"},"description":"Optional element IDs to focus after opening the view."},"focusRelationIds":{"type":"array","items":{"type":"string"},"description":"Optional relation IDs to focus after opening the view."}},"required":["viewId"],"additionalProperties":false},"hasHandler":true,"hasExecute":true,"__source":"spec","executable":true,"handlerField":"execute"},{"name":"annotate_architecture","kind":"act","impl":"imperative","description":"Create or update an agent Finding with stable evidence IDs. Use this to make an observed architecture risk visible to the human.","title":"Annotate architecture","annotations":{"readOnlyHint":false},"inputSchema":{"type":"object","properties":{"id":{"type":"string","pattern":"^[a-z0-9]+(?:-[a-z0-9]+)*$","description":"Stable, idempotent kebab-case finding ID."},"title":{"type":"string","minLength":1},"description":{"type":"string","minLength":1},"severity":{"type":"string","enum":["info","warning","error"]},"elementIds":{"type":"array","items":{"type":"string"},"uniqueItems":true},"relationIds":{"type":"array","items":{"type":"string"},"uniqueItems":true}},"required":["id","title","description","severity"],"additionalProperties":false},"hasHandler":true,"hasExecute":true,"__source":"spec","executable":true,"handlerField":"execute"},{"name":"add_constraint","kind":"act","impl":"imperative","description":"Create or update an explicit deterministic architecture rule. Supported rules are forbidden dependency, independent deployment, no cycles, and allowed protocol.","title":"Add architecture constraint","annotations":{"readOnlyHint":false},"inputSchema":{"type":"object","properties":{"id":{"type":"string","pattern":"^[a-z0-9]+(?:-[a-z0-9]+)*$","description":"Stable, idempotent kebab-case constraint ID."},"name":{"type":"string","minLength":1},"description":{"type":"string","minLength":1},"severity":{"type":"string","enum":["info","warning","error"]},"rule":{"oneOf":[{"type":"object","properties":{"type":{"const":"forbidden-dependency"},"sourceId":{"type":"string"},"targetId":{"type":"string"}},"required":["type","sourceId","targetId"],"additionalProperties":false},{"type":"object","properties":{"type":{"const":"independent-deployment"},"elementId":{"type":"string"}},"required":["type","elementId"],"additionalProperties":false},{"type":"object","properties":{"type":{"const":"no-cycles"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"const":"allowed-protocol"},"sourceId":{"type":"string"},"targetId":{"type":"string"},"protocols":{"type":"array","items":{"type":"string"},"minItems":1,"uniqueItems":true}},"required":["type","sourceId","targetId","protocols"],"additionalProperties":false}]}},"required":["id","name","description","severity","rule"],"additionalProperties":false},"hasHandler":true,"hasExecute":true,"__source":"spec","executable":true,"handlerField":"execute"},{"name":"create_proposal","kind":"act","impl":"imperative","description":"Create or update a patch-based alternative to Current Architecture. The proposal becomes active, while Current elements and relations remain untouched.","title":"Create architecture proposal","annotations":{"readOnlyHint":false},"inputSchema":{"type":"object","properties":{"id":{"type":"string","pattern":"^[a-z0-9]+(?:-[a-z0-9]+)*$","description":"Stable, idempotent kebab-case proposal ID."},"name":{"type":"string","minLength":1},"description":{"type":"string"},"baseVersion":{"type":"number"},"changes":{"type":"object","properties":{"addElements":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"kind":{"type":"string","enum":["system","application","microfrontend","service","module","component","api","contract","datastore","queue","state","external-system","infrastructure"]},"area":{"type":"string","enum":["frontend","backend","data","infrastructure","external"]},"level":{"type":"string","enum":["system","hld","lld"]},"parentId":{"type":"string"},"description":{"type":"string"},"technology":{"type":"string"},"owner":{"type":"string"},"deploymentUnit":{"type":"string"},"metadata":{"type":"object"}},"required":["id","name","kind","area","level"],"additionalProperties":false}},"updateElements":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"changes":{"type":"object","minProperties":1}},"required":["id","changes"],"additionalProperties":false}},"removeElementIds":{"type":"array","items":{"type":"string"},"uniqueItems":true},"addRelations":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"sourceId":{"type":"string"},"targetId":{"type":"string"},"type":{"type":"string","enum":["depends-on","calls","publishes","subscribes","reads","writes","shares-state","hosts"]},"protocol":{"type":"string"},"description":{"type":"string"},"contractId":{"type":"string"},"metadata":{"type":"object"}},"required":["id","sourceId","targetId","type"],"additionalProperties":false}},"updateRelations":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"changes":{"type":"object","minProperties":1}},"required":["id","changes"],"additionalProperties":false}},"removeRelationIds":{"type":"array","items":{"type":"string"},"uniqueItems":true}},"required":["addElements","updateElements","removeElementIds","addRelations","updateRelations","removeRelationIds"],"additionalProperties":false}},"required":["id","name","baseVersion","changes"],"additionalProperties":false},"hasHandler":true,"hasExecute":true,"__source":"spec","executable":true,"handlerField":"execute"},{"name":"validate_architecture","kind":"act","impl":"imperative","description":"Run Nivra's deterministic constraint engine against Current or the active Proposal and show the result in the shared workspace.","title":"Validate architecture","annotations":{"readOnlyHint":false},"inputSchema":{"type":"object","properties":{"mode":{"type":"string","enum":["current","proposal"],"description":"Architecture mode to validate. Defaults to the visible active mode."}},"additionalProperties":false},"hasHandler":true,"hasExecute":true,"__source":"spec","executable":true,"handlerField":"execute"}],"category":"Developer Tools","apiSurface":"spec","toolCount":7}}