adk-add-tool
Add synchronous ADK tools
Proto comments become the model-facing tool description and JSON Schema. Handlers run in-process via ADK functiontool; the same service methods can later back gRPC if you register them.
Before creating any new package, search the build module for existing tools wiring using discovery signals (MyTools, NewTool, ToolsService). Extend existing packages rather than creating parallel ones. Do not refactor the user's layout to match templates. Templates provide greenfield defaults for new projects only.
Runtime Context
This skill may be loaded with an <alis-runtime-context> block injected at the top of these
instructions by the Alis Build MCP LoadSkill handler. The handler reads alis.context.requires
below and uses it as the read_mask on GetContext — the block carries only those fields.
Resolution order — when discovering workspace values before edits:
- Resolve script —
bash scripts/resolve-alis-workspace.sh --json(pass--cwdwhen the working directory differs from the target neuron). Prefer script output when a field is present. <alis-runtime-context>— for any read-mask field still missing after the script, use the block verbatim. Do not re-derive or ask the user to confirm values already provided.- MCP —
ListLandingZones->GetLandingZone->ViewProduct(lz, product)for neuron lists, versions, and environments. UseCloneProduct/PullDefinefor canonical clone paths. Never invent environment IDs. - Neuron anchors — nearest
go.modunderworkstations.build_repos;tools.protounderworkstations.define_repos. - Ask user — Smallest missing piece only.