ragraf_ensure
Works outside the facade: it has no operation of the same name.
What it does
find the corpus by project directory, bring it up to date or create it — the first call of any session
What problem it solves
Settles the freshness question at the start: finds the corpus and brings it up to date.
How to call it
ragraf_ensure()
The ellipsis stands for a value the agent supplies; optional parameters can be omitted.
Parameters
The parameters of this tool are declared by its schema in the MCP server; the server hands them to the client itself, so the interface cannot drift from the code.
What it returns
The answer is assembled by the operation and described by the envelope.