client_call_to_artifact
autogen.beta.a2a.mappers.events.client_call_to_artifact #
client_call_to_artifact(event, *, task_id, context_id, name=None, description=None, artifact_metadata=None, update_metadata=None)
Map a pending client-side tool invocation to a tool-call artifact.
Each call gets a fresh artifact keyed by the call id with last_chunk=True — a tool-call payload is delivered atomically, not streamed in chunks. name defaults to the tool name so downstream consumers can filter by it without decoding the payload.