このページの日本語版はまだありません。以下は英語の原文です。
Create a module
Save a function with type hints and a descriptive docstring in your tool directory:tools/list with an MCP client.
Files beginning with _ are ignored. For classes, use a name ending in
Service; __tools__ explicitly limits which public methods are exposed.
Identity and access
A tool needing the authenticated record context can declareuser_info.
The engine injects it and does not expose it as a model-supplied argument.
Enforce record ownership and permissions before reading or changing data;
never accept a model-provided user ID as authorization.
Use the shared observation writer and query authority when handling health
records. Keep personal values and vendor exception messages out of logs.
For package entry points, citations and full examples, see the
tool development reference.