Skip to content

test(a2a): verify tool ID in agent API responses - #7807

Open
Jass-pvt wants to merge 1 commit into
IBM:mainfrom
Jass-pvt:feat/a2a-tool-id-api-support
Open

Jass-pvt wants to merge 1 commit into
IBM:mainfrom
Jass-pvt:feat/a2a-tool-id-api-support

Conversation

@Jass-pvt

@Jass-pvt Jass-pvt commented Dec 4, 2026

Copy link
Copy Markdown

Summary

Adds regression tests to verify that A2A agent API responses expose the associated tool_id.

Changes

  • Verify toolId is included in the GET /v1/a2a/{agent_id} response.
  • Verify toolId is included in the GET /v1/a2a list response.
  • Verify toolId becomes null in both responses after the associated tool is deleted.
  • Add unit coverage for convert_agent_to_read() with both a valid tool ID and None.
  • Preserve the existing Windows test environment configuration required by the E2E fixture.

Testing

  • 6 targeted tests passed.
  • git diff --check passed.

Issue

Related to #7602.

Signed-off-by: Jass-pvt <rathoresjaswanth@gmail.com>

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant