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
{{ message }}
Repository navigation
A2A: integers in context come back as floats #1572
Observed: an A2A message/send whose parameters carry context: {"count": 7, "list": [1]} gets back context: {"count": 7.0, "list": [1.0]}. The same call over MCP returns 7.
Cause: the A2A request is parsed through protobuf Struct, which stores every JSON number as a double, and MessageToDict returns floats. _normalize_a2a_parameters (adcp/server/a2a_server.py, around line 251) only restores adcp_major_version. inject_context(params, ...) then echoes the float-converted context.
Expected: AdCP echoes context unchanged. Either restore integral floats to ints throughout the parsed parameters (or at least within context and every nested context), or echo the context from the raw JSON body rather than the protobuf round trip.
Found while making a seller (Scope3's embedded sales agent) echo context exactly on every tool over both transports.
Activity
fix(a2a): keep integers integral in echoed context across the protobu…