Documentation Index
Fetch the complete documentation index at: https://docs.ntrp.io/llms.txt
Use this file to discover all available pages before exploring further.
Connect to event stream
Open a persistent SSE connection to receive all events for a session.text/event-stream response. See Streaming for event types. The connection stays open with keepalive pings every 5 seconds.
Send message
Fire-and-forget message send. If an agent is already running, the message is queued for safe injection at the next turn boundary.The user message to send.
Optional array of image objects to include with the message. Each image has
media_type (e.g. image/jpeg, image/png) and data (base64-encoded content).Target session ID.
Auto-approve all tool calls.
Submit tool result
Approve or reject a pending tool call.Background a run
Move an active agent run into background mode. The UI is unblocked immediately and results are delivered via SSE when complete.Cancel
Cancel a running agent loop.Context usage
Get current token and tool-schema usage for the session. During an active run, tool counts reflect the tools visible to that run after deferred loading.tool_count: total tools available after provider/service capability filtering.visible_tool_count: schemas currently sent to the model.deferred_tool_count: tools hidden untilload_toolsis called.loaded_tool_count: deferred tools loaded in the active run. This resets after compaction.