v0.3.0
Added
- Doc comments as tool/capsule descriptions —
///on#[astrid::tool]methods becomemetadata.descriptionin the generated JSON schema. Doc comments on the#[capsule]impl block become the capsule-level description. Full doc text (all paragraphs) preserved for LLM context. (astrid-sdk-macros) - Inline mutable flag —
#[astrid::tool("name", mutable)]or#[astrid::tool(mutable)](name inferred from method). Standalone#[astrid::mutable]still works for backward compatibility. (astrid-sdk-macros)
Changed
- Schema export format now returns
{ "tools": {...}, "description": "capsule doc" }with backward compatibility when no capsule-level doc comment is present. (astrid-sdk-macros)
With many thanks from the following Astrinauts 🚀
- Joshua J. Bouw