Skip to content

feat: Add debug logging to AdCP tools and clarify probe messaging#830

Merged
bokelley merged 1 commit into
mainfrom
bokelley/addie-debug-logs
Jan 20, 2026
Merged

feat: Add debug logging to AdCP tools and clarify probe messaging#830
bokelley merged 1 commit into
mainfrom
bokelley/addie-debug-logs

Conversation

@bokelley

Copy link
Copy Markdown
Contributor

Summary

  • Add debug parameter to all 10 AdCP tool schemas for protocol-level visibility
  • Include debug_logs in tool output when debug mode is enabled
  • Remove redundant call_adcp_agent tool (individual tools provide better schema validation)
  • Fix probe_adcp_agent messaging to clarify connectivity vs protocol compliance

Changes

Debug Logging

Users can now pass debug: true to any AdCP tool (get_products, create_media_buy, sync_creatives, etc.) to see protocol-level details including requests, responses, and schema validation logs.

Tool Consolidation

Removed the generic call_adcp_agent tool since the individual typed tools (get_products, create_media_buy, etc.) provide better schema documentation and validation for Claude.

Clearer Messaging

Updated probe_adcp_agent to clearly state it only verifies connectivity (agent responds to HTTP), not protocol compliance. The tool now suggests running test_adcp_agent to verify the agent implements the protocol correctly.

Test plan

  • All tests pass
  • Verified @adcp/client supports debug API (SingleAgentClientConfig.debug, TaskOptions.debug, TaskResult.debug_logs)
  • Tested Vibium browser integration

🤖 Generated with Claude Code

- Add `debug` parameter to all 10 AdCP tool schemas for protocol-level visibility
- Include debug_logs in tool output when debug mode enabled
- Remove redundant `call_adcp_agent` tool (individual tools provide better validation)
- Fix `probe_adcp_agent` messaging to clarify connectivity vs protocol compliance

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@bokelley bokelley merged commit 6708ad4 into main Jan 20, 2026
6 checks passed
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