Skip to content

Instantly share code, notes, and snippets.

@simonw
Created July 31, 2025 23:11
Show Gist options
  • Select an option

  • Save simonw/831a9bf3e42e08dce806e6dea1419dcb to your computer and use it in GitHub Desktop.

Select an option

Save simonw/831a9bf3e42e08dce806e6dea1419dcb to your computer and use it in GitHub Desktop.
{
"description": "Create a message template that the user can use to send messages.",
"name": "message_compose_v0",
"parameters": {
"properties": {
"body": {
"description": "The body of the message",
"type": "string"
},
"kind": {
"description": "The kind of message to create. Can be one of these values: 'email', 'textMessage', or 'other'.",
"enum": ["email", "textMessage", "other"],
"type": "string"
},
"subject": {
"description": "The subject of the message. Should only be included for email messages.",
"type": "string"
},
"summaryTitle": {
"description": "A brief title that summarizes the message.",
"type": "string"
}
},
"required": ["kind", "body"],
"type": "object"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment