productivity
wallabag CLI for AI Agents
Use the wallabag CLI from KosmoKrator to call wallabag tools headlessly, return JSON, inspect schemas, and automate workflows from coding agents, scripts, and CI.wallabag CLI Setup
wallabag can be configured headlessly with `kosmokrator integrations:configure wallabag`.
# Install KosmoKrator first if it is not available on PATH.
curl -fsSL https://raw.githubusercontent.com/OpenCompanyApp/kosmokrator/main/install.sh | bash
# Configure and verify this integration.
kosmokrator integrations:configure wallabag --enable --read allow --write ask --json
kosmokrator integrations:doctor wallabag --json
kosmokrator integrations:status --json Credentials
Authentication type: oauth2 password oauth2_password. Configure credentials once, then reuse the same stored profile from scripts, coding CLIs, Lua, and MCP.
| Key | Env var | Type | Required | Label |
|---|---|---|---|---|
access_token | WALLABAG_ACCESS_TOKEN | Secret secret | no | Access Token |
refresh_token | WALLABAG_REFRESH_TOKEN | Secret secret | no | Refresh Token |
client_id | WALLABAG_CLIENT_ID | Secret secret | no | Client ID |
client_secret | WALLABAG_CLIENT_SECRET | Secret secret | no | Client Secret |
username | WALLABAG_USERNAME | Text text | no | Username |
password | WALLABAG_PASSWORD | Secret secret | no | Password |
url | WALLABAG_URL | Text text | no | Instance URL |
Command Patterns
The generic command is stable across every integration. The provider shortcut is shorter for humans.
kosmo integrations:call wallabag.wallabag_token_password '{}' --json kosmo integrations:wallabag wallabag_token_password '{}' --json Discovery
These commands return structured output for coding agents that need to inspect capabilities before choosing a function.
kosmo integrations:docs wallabag --json
kosmo integrations:docs wallabag.wallabag_token_password --json
kosmo integrations:schema wallabag.wallabag_token_password --json
kosmo integrations:search "wallabag" --json
kosmo integrations:list --json Automation Contexts
The same configured command surface works in these environments. The command does not change unless the host wrapper, credentials, or permissions change.
CLI Functions
Every function below can be called headlessly. Commands are highlighted, copyable, and scroll horizontally when payloads are long.
wallabag.wallabag_token_password
Exchange wallabag client and user credentials for an access token.
write - Parameters
- none
kosmo integrations:call wallabag.wallabag_token_password '{}' --json kosmo integrations:wallabag wallabag_token_password '{}' --json wallabag.wallabag_token_refresh
Refresh a wallabag access token.
write - Parameters
- none
kosmo integrations:call wallabag.wallabag_token_refresh '{}' --json kosmo integrations:wallabag wallabag_token_refresh '{}' --json wallabag.wallabag_entries_list
List wallabag entries with filters and pagination.
read - Parameters
- none
kosmo integrations:call wallabag.wallabag_entries_list '{}' --json kosmo integrations:wallabag wallabag_entries_list '{}' --json wallabag.wallabag_entries_create
Create a wallabag entry from a URL.
write - Parameters
- none
kosmo integrations:call wallabag.wallabag_entries_create '{}' --json kosmo integrations:wallabag wallabag_entries_create '{}' --json wallabag.wallabag_entries_exists
Check whether a URL already exists in wallabag.
read - Parameters
- none
kosmo integrations:call wallabag.wallabag_entries_exists '{}' --json kosmo integrations:wallabag wallabag_entries_exists '{}' --json wallabag.wallabag_entries_get
Get one wallabag entry.
read - Parameters
- none
kosmo integrations:call wallabag.wallabag_entries_get '{}' --json kosmo integrations:wallabag wallabag_entries_get '{}' --json wallabag.wallabag_entries_update
Update title, archived/starred state, tags, or other entry fields.
write - Parameters
- none
kosmo integrations:call wallabag.wallabag_entries_update '{}' --json kosmo integrations:wallabag wallabag_entries_update '{}' --json wallabag.wallabag_entries_delete
Delete one wallabag entry.
write - Parameters
- none
kosmo integrations:call wallabag.wallabag_entries_delete '{}' --json kosmo integrations:wallabag wallabag_entries_delete '{}' --json wallabag.wallabag_entries_reload
Refetch and reload a wallabag entry.
write - Parameters
- none
kosmo integrations:call wallabag.wallabag_entries_reload '{}' --json kosmo integrations:wallabag wallabag_entries_reload '{}' --json wallabag.wallabag_entries_export
Export an entry as epub, mobi, pdf, txt, csv, json, or xml.
read - Parameters
- none
kosmo integrations:call wallabag.wallabag_entries_export '{}' --json kosmo integrations:wallabag wallabag_entries_export '{}' --json wallabag.wallabag_tags_list
List wallabag tags.
read - Parameters
- none
kosmo integrations:call wallabag.wallabag_tags_list '{}' --json kosmo integrations:wallabag wallabag_tags_list '{}' --json wallabag.wallabag_entry_tags_add
Add comma-separated tags to an entry.
write - Parameters
- none
kosmo integrations:call wallabag.wallabag_entry_tags_add '{}' --json kosmo integrations:wallabag wallabag_entry_tags_add '{}' --json wallabag.wallabag_entry_tag_delete
Remove one tag from an entry.
write - Parameters
- none
kosmo integrations:call wallabag.wallabag_entry_tag_delete '{}' --json kosmo integrations:wallabag wallabag_entry_tag_delete '{}' --json wallabag.wallabag_annotations_list
List annotations for a wallabag entry.
read - Parameters
- none
kosmo integrations:call wallabag.wallabag_annotations_list '{}' --json kosmo integrations:wallabag wallabag_annotations_list '{}' --json wallabag.wallabag_annotations_create
Create an annotation for a wallabag entry.
write - Parameters
- none
kosmo integrations:call wallabag.wallabag_annotations_create '{}' --json kosmo integrations:wallabag wallabag_annotations_create '{}' --json wallabag.wallabag_annotations_update
Update a wallabag annotation.
write - Parameters
- none
kosmo integrations:call wallabag.wallabag_annotations_update '{}' --json kosmo integrations:wallabag wallabag_annotations_update '{}' --json wallabag.wallabag_annotations_delete
Delete a wallabag annotation.
write - Parameters
- none
kosmo integrations:call wallabag.wallabag_annotations_delete '{}' --json kosmo integrations:wallabag wallabag_annotations_delete '{}' --json wallabag.wallabag_api_get
Call a safe relative wallabag API GET path.
read - Parameters
- none
kosmo integrations:call wallabag.wallabag_api_get '{}' --json kosmo integrations:wallabag wallabag_api_get '{}' --json wallabag.wallabag_api_post
Call a safe relative wallabag API POST path.
write - Parameters
- none
kosmo integrations:call wallabag.wallabag_api_post '{}' --json kosmo integrations:wallabag wallabag_api_post '{}' --json wallabag.wallabag_api_patch
Call a safe relative wallabag API PATCH path.
write - Parameters
- none
kosmo integrations:call wallabag.wallabag_api_patch '{}' --json kosmo integrations:wallabag wallabag_api_patch '{}' --json wallabag.wallabag_api_delete
Call a safe relative wallabag API DELETE path.
write - Parameters
- none
kosmo integrations:call wallabag.wallabag_api_delete '{}' --json kosmo integrations:wallabag wallabag_api_delete '{}' --json Function Schemas
Use these parameter tables when building CLI payloads without calling integrations:schema first.
wallabag.wallabag_token_password 0 parameters
kosmo integrations:schema wallabag.wallabag_token_password --json | Parameter | Type | Required | Description |
|---|---|---|---|
| No parameters. | |||
wallabag.wallabag_token_refresh 0 parameters
kosmo integrations:schema wallabag.wallabag_token_refresh --json | Parameter | Type | Required | Description |
|---|---|---|---|
| No parameters. | |||
wallabag.wallabag_entries_list 0 parameters
kosmo integrations:schema wallabag.wallabag_entries_list --json | Parameter | Type | Required | Description |
|---|---|---|---|
| No parameters. | |||
wallabag.wallabag_entries_create 0 parameters
kosmo integrations:schema wallabag.wallabag_entries_create --json | Parameter | Type | Required | Description |
|---|---|---|---|
| No parameters. | |||
wallabag.wallabag_entries_exists 0 parameters
kosmo integrations:schema wallabag.wallabag_entries_exists --json | Parameter | Type | Required | Description |
|---|---|---|---|
| No parameters. | |||
wallabag.wallabag_entries_get 0 parameters
kosmo integrations:schema wallabag.wallabag_entries_get --json | Parameter | Type | Required | Description |
|---|---|---|---|
| No parameters. | |||
wallabag.wallabag_entries_update 0 parameters
kosmo integrations:schema wallabag.wallabag_entries_update --json | Parameter | Type | Required | Description |
|---|---|---|---|
| No parameters. | |||
wallabag.wallabag_entries_delete 0 parameters
kosmo integrations:schema wallabag.wallabag_entries_delete --json | Parameter | Type | Required | Description |
|---|---|---|---|
| No parameters. | |||
wallabag.wallabag_entries_reload 0 parameters
kosmo integrations:schema wallabag.wallabag_entries_reload --json | Parameter | Type | Required | Description |
|---|---|---|---|
| No parameters. | |||
wallabag.wallabag_entries_export 0 parameters
kosmo integrations:schema wallabag.wallabag_entries_export --json | Parameter | Type | Required | Description |
|---|---|---|---|
| No parameters. | |||
wallabag.wallabag_tags_list 0 parameters
kosmo integrations:schema wallabag.wallabag_tags_list --json | Parameter | Type | Required | Description |
|---|---|---|---|
| No parameters. | |||
wallabag.wallabag_entry_tags_add 0 parameters
kosmo integrations:schema wallabag.wallabag_entry_tags_add --json | Parameter | Type | Required | Description |
|---|---|---|---|
| No parameters. | |||
wallabag.wallabag_entry_tag_delete 0 parameters
kosmo integrations:schema wallabag.wallabag_entry_tag_delete --json | Parameter | Type | Required | Description |
|---|---|---|---|
| No parameters. | |||
wallabag.wallabag_annotations_list 0 parameters
kosmo integrations:schema wallabag.wallabag_annotations_list --json | Parameter | Type | Required | Description |
|---|---|---|---|
| No parameters. | |||
wallabag.wallabag_annotations_create 0 parameters
kosmo integrations:schema wallabag.wallabag_annotations_create --json | Parameter | Type | Required | Description |
|---|---|---|---|
| No parameters. | |||
wallabag.wallabag_annotations_update 0 parameters
kosmo integrations:schema wallabag.wallabag_annotations_update --json | Parameter | Type | Required | Description |
|---|---|---|---|
| No parameters. | |||
wallabag.wallabag_annotations_delete 0 parameters
kosmo integrations:schema wallabag.wallabag_annotations_delete --json | Parameter | Type | Required | Description |
|---|---|---|---|
| No parameters. | |||
wallabag.wallabag_api_get 0 parameters
kosmo integrations:schema wallabag.wallabag_api_get --json | Parameter | Type | Required | Description |
|---|---|---|---|
| No parameters. | |||
wallabag.wallabag_api_post 0 parameters
kosmo integrations:schema wallabag.wallabag_api_post --json | Parameter | Type | Required | Description |
|---|---|---|---|
| No parameters. | |||
wallabag.wallabag_api_patch 0 parameters
kosmo integrations:schema wallabag.wallabag_api_patch --json | Parameter | Type | Required | Description |
|---|---|---|---|
| No parameters. | |||
wallabag.wallabag_api_delete 0 parameters
kosmo integrations:schema wallabag.wallabag_api_delete --json | Parameter | Type | Required | Description |
|---|---|---|---|
| No parameters. | |||
Permissions
Headless calls still follow the integration read/write permission policy. Configure read/write defaults with
integrations:configure. Add --force only for trusted automation that should bypass that policy.