Skip to content

Add zendesk_get_attachment tool - #8

Open
patrickpingol wants to merge 2 commits into
koundinya:mainfrom
patrickpingol:feature/get-attachment
Open

Add zendesk_get_attachment tool#8
patrickpingol wants to merge 2 commits into
koundinya:mainfrom
patrickpingol:feature/get-attachment

Conversation

@patrickpingol

Copy link
Copy Markdown

Summary

  • Adds a new zendesk_get_attachment tool that fetches attachment content from Zendesk
  • Accepts either a full token URL (e.g. https://{subdomain}.zendesk.com/attachments/token/.../?name=file.png) or a numeric attachment ID
  • When given a numeric ID, uses client.attachments.show() to resolve the content_url
  • Returns images as base64 with type: "image" MCP content so clients can render them inline
  • Returns all other file types as plain text with type: "text" MCP content

@patrickpingol
patrickpingol marked this pull request as draft June 8, 2026 15:35
@patrickpingol
patrickpingol marked this pull request as ready for review June 8, 2026 15:36
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