Export Chat Answer
export_chat_answerExport a specific Magic Prompt answer to save AI-generated summaries, reports, or analysis results in txt, docx, pdf, or md format.
Instructions
Export a specific Magic Prompt answer. Useful for saving AI-generated summaries, reports, or analysis results.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"promptId": "<promptId>",
"messageId": "<messageId>",
"fileType": "<fileType>"
},
"name": "export_chat_answer"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fileType | Yes | Export file format | |
| promptId | Yes | ID of the conversation to export | |
| messageId | Yes | ID of the specific message/answer to export |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | Response payload from the Speak AI API |