pine_get_history
Retrieve Pine conversation history to poll for replies and status updates after messaging or starting a task. Detect forms, billing, task readiness, and other indicators.
Instructions
Poll Pine's conversation history — the core way to see replies (no streaming).
Call after sending a message or starting a task. Wait a few seconds between polls. Look for: [FORM], [BILLING], [PAYMENT], [TASK READY], [CREDITS NEEDED], [AUTH NEEDED], [THREE-WAY CALL], [TASK FINISHED], [ACTION NEEDED].
Args: session_id: The session to load history for. max_messages: Max messages to fetch (default 30). order: "asc" (oldest first) or "desc" (newest first). from_message_id: Fetch messages after this ID (for pagination).
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": {
"session_id": "<session_id>"
},
"name": "pine_get_history"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| order | No | asc | |
| session_id | Yes | ||
| max_messages | No | ||
| from_message_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |