You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add declarative answer slots and force JSON output in MCP mode
- Force --output:json in McpToolAdapter so agents receive structured
JSON instead of human-formatted tables and banners
- Add WithAnswer() fluent API and [Answer] attribute to declare
interactive prompt slots on commands (confirmation, choices, etc.)
- Expose answer slots as answer:{name} properties in MCP tool schema
so agents know which prefills are available before first call
- Answer types reuse route constraint names (string, bool, int, etc.)
0 commit comments