Yichus / Reference / API MCP tools
api_add_rule
Return a one-line Yichus/Access AccessRule snippet to paste into an existing AccessSpec list.
Kind: AddRule. Origin: Yichus/Mcp::catalog.
CLI: none — an access-rule snippet for an editor (ApiScaffold.ruleSnippet); use `yichus call` to return snippets.
Parameters
resource(required, string) — Table name as passed to Yichus/Data::table, e.g. notespolicy(required, string) — owner or public
Read the result according to this tool’s scope: static checks, bounded execution checks, and descriptive diagrams answer different questions. A successful call is not a general approval of the program. The safety and permissions guide compares the checks and provides editable ownership, guard, and role examples.