Skip to main content

Crate paigasus_helikon_macros

Crate paigasus_helikon_macros 

Source
Expand description

Proc macros for the Paigasus Helikon SDK.

Two macros:

  • #[tool] — attribute macro on async fn that synthesizes an impl Tool<Ctx> against paigasus-helikon-core.
  • tools! — function-like macro that boxes a heterogeneous list of tool values into Vec<Arc<dyn Tool<Ctx>>>.

See the SMA-315 design at docs/superpowers/specs/2026-05-22-sma-315-tool-proc-macro-design.md.

Macros§

tools
Function-like macro that boxes a comma-separated list of tool expressions into Vec<Arc<dyn Tool<Ctx>>>.

Attribute Macros§

tool
Attribute macro that generates an impl Tool<Ctx> for an async fn.