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).
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 |