diff --git a/agent.py b/agent.py index 1a37a99..ad6622c 100644 --- a/agent.py +++ b/agent.py @@ -906,7 +906,7 @@ class ProductionIncidentCommander(A2AAgent[CommanderConfig, NoAuth]): await emit_phase(ctx, "close_or_escalate", status="recovered" if recovered else "escalate") return result.model_dump(mode="json") - @a2a.tool(description="Generate a blameless postmortem from saved incident artifacts", timeout_seconds=300, cost_class="incident-postmortem", grant_mode="read_write_overlay", grant_write_prefixes=("outputs/incidents/",), grant_allow_patterns=("outputs/incidents/**",)) + @a2a.tool(description="Generate a blameless postmortem from saved incident artifacts", input_schema=POSTMORTEM_INPUT_SCHEMA, timeout_seconds=300, cost_class="incident-postmortem", grant_mode="read_write_overlay", grant_write_prefixes=("outputs/incidents/",), grant_allow_patterns=("outputs/incidents/**",)) async def generate_postmortem( self, ctx: RunContext[NoAuth],