From 5d2e3a355e7fca13106f3990c9a5c5c8c9ca5d15 Mon Sep 17 00:00:00 2001 From: a2a-cloud Date: Mon, 13 Jul 2026 02:55:06 +0000 Subject: [PATCH] a2a-source-edit: write agent.py --- agent.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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],