Upload a hand history
upload_hand_historyUploads a small pasted hand history or tournament summary (the hosted /upload page handles files). Runs the same ingestion pipeline as the upload page and returns hands parsed, tournaments parsed, and errors. Stored hands feed session summaries, results curves, and opponent notes.
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": {
"text": "<text>"
},
"name": "upload_hand_history"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | Raw hand history or tournament summary text. | |
| filename | No | Name to record for the paste. Defaults to "paste.txt". |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| errors | No | Parse errors, if any. | |
| filename | No | Filename recorded for the paste. | |
| persisted | No | True when the hands were written to durable storage. | |
| sessionId | No | Session id for the stored hands, or null when nothing parsed. | |
| handsParsed | No | Hands parsed. | |
| persistence | No | Where the hands live: "database" (durable) or "process_memory" (database unavailable). | |
| tournamentsParsed | No | Tournament summaries parsed. |