yoi/crates/llm-worker-macros
2026-06-09 19:31:11 +09:00
..
src tool: add execution context 2026-06-09 19:31:11 +09:00
Cargo.toml cargo init 2026-04-04 03:30:49 +09:00
README.md docs: reorganize developer documentation 2026-06-01 20:59:32 +09:00

llm-worker-macros

Role

llm-worker-macros provides procedural macros for declaring Rust methods as LLM-callable tools.

Boundaries

Owns:

  • compile-time generation of tool argument structures and definitions
  • small macro conveniences around tool descriptions and schemas

Does not own:

  • runtime permission decisions
  • filesystem scope checks
  • tool execution policy
  • model/tool-loop orchestration

Design notes

Macros reduce boilerplate, but they must not imply capability. A generated tool definition is still subject to manifest permissions, Pod scope, and runtime policy.

See also