abs_sessions
Retrieve Audiobookshelf listening sessions, inspect open sessions, and close a session through the API. Use dry-run previews before confirmed writes.
Instructions
abs_sessions covers the sessions toolset (4 operations). Auth is Authorization Bearer from ABS_API_TOKEN. Self-hosted Audiobookshelf only. action help with target returns one action's parameters. Writes need confirm set to the boolean true and ABS_ALLOW_WRITES=true. Omit confirm for a dry-run preview that sends nothing. Actions: get, get_open, get_session, post_session_close.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | No | JSON body for the Audiobookshelf operation. Secrets are redacted in output. | |
| query | No | Query parameters. | |
| action | Yes | Audiobookshelf operation to call, or help. | |
| params | No | Express path parameters, such as id. | |
| target | No | With action help, the action whose parameters to describe. | |
| confirm | No | Set to the boolean true to execute the write. Omit this field for a dry-run preview. false and the string true are rejected. |