Upload Chat
upload_chatUpload a chat session to Magnet for tracking and analysis. Returns a view URL to access the session.
Instructions
Upload a chat session to Magnet for tracking and analysis. Returns the created chat with a viewUrl to see it in the web UI.
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": {
"filePath": "<filePath>"
},
"name": "upload_chat"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | No | Optional title override. Auto-generated from first message if not provided. | |
| filePath | Yes | Path to JSON file containing the full chat export (source, sessionId, projectPath, gitBranch, rawPayload) | |
| organizationId | No | Organization ID. Optional when using API key authentication. |