Skip to content

Add support for audio content in prompts and tool results #73

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 15, 2025
Merged

Conversation

mattt
Copy link
Contributor

@mattt mattt commented Apr 14, 2025

Audio content allows including audio information in messages.

{
  "type": "audio",
  "data": "base64-encoded-audio-data",
  "mimeType": "audio/wav"
}

https://modelcontextprotocol.io/specification/2025-03-26/server/prompts#audio-content
https://modelcontextprotocol.io/specification/2025-03-26/server/tools#audio-content

@mattt mattt merged commit c748bc1 into main Apr 15, 2025
4 checks passed
@mattt mattt deleted the mattt/audio branch April 15, 2025 12:41
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