data
Crossref CLI for AI Agents
Use the Crossref CLI from KosmoKrator to call Crossref tools headlessly, return JSON, inspect schemas, and automate workflows from coding agents, scripts, and CI.Crossref CLI Setup
Crossref can be configured headlessly with `kosmokrator integrations:configure crossref`.
# 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 crossref --enable --read allow --write ask --json
kosmokrator integrations:doctor crossref --json
kosmokrator integrations:status --json Credentials
Authentication type: No credentials none. Configure credentials once, then reuse the same stored profile from scripts, coding CLIs, Lua, and MCP.
No credentials are required.
Command Patterns
The generic command is stable across every integration. The provider shortcut is shorter for humans.
kosmo integrations:call crossref.crossref_list_works '{}' --json kosmo integrations:crossref crossref_list_works '{}' --json Discovery
These commands return structured output for coding agents that need to inspect capabilities before choosing a function.
kosmo integrations:docs crossref --json
kosmo integrations:docs crossref.crossref_list_works --json
kosmo integrations:schema crossref.crossref_list_works --json
kosmo integrations:search "Crossref" --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.
crossref.crossref_list_works
List, search, filter, facet, sample, or page Crossref works.
read - Parameters
- none
kosmo integrations:call crossref.crossref_list_works '{}' --json kosmo integrations:crossref crossref_list_works '{}' --json crossref.crossref_get_work
Get one Crossref work by DOI.
read - Parameters
- none
kosmo integrations:call crossref.crossref_get_work '{}' --json kosmo integrations:crossref crossref_get_work '{}' --json crossref.crossref_get_work_agency
Get DOI registration agency.
read - Parameters
- none
kosmo integrations:call crossref.crossref_get_work_agency '{}' --json kosmo integrations:crossref crossref_get_work_agency '{}' --json crossref.crossref_list_journals
List Crossref journals.
read - Parameters
- none
kosmo integrations:call crossref.crossref_list_journals '{}' --json kosmo integrations:crossref crossref_list_journals '{}' --json crossref.crossref_get_journal
Get journal details by ISSN.
read - Parameters
- none
kosmo integrations:call crossref.crossref_get_journal '{}' --json kosmo integrations:crossref crossref_get_journal '{}' --json crossref.crossref_list_journal_works
List works in a journal.
read - Parameters
- none
kosmo integrations:call crossref.crossref_list_journal_works '{}' --json kosmo integrations:crossref crossref_list_journal_works '{}' --json crossref.crossref_list_members
List Crossref members.
read - Parameters
- none
kosmo integrations:call crossref.crossref_list_members '{}' --json kosmo integrations:crossref crossref_list_members '{}' --json crossref.crossref_get_member
Get member details.
read - Parameters
- none
kosmo integrations:call crossref.crossref_get_member '{}' --json kosmo integrations:crossref crossref_get_member '{}' --json crossref.crossref_list_member_works
List works for a member.
read - Parameters
- none
kosmo integrations:call crossref.crossref_list_member_works '{}' --json kosmo integrations:crossref crossref_list_member_works '{}' --json crossref.crossref_get_prefix
Get prefix steward.
read - Parameters
- none
kosmo integrations:call crossref.crossref_get_prefix '{}' --json kosmo integrations:crossref crossref_get_prefix '{}' --json crossref.crossref_list_prefix_works
List works for a prefix.
read - Parameters
- none
kosmo integrations:call crossref.crossref_list_prefix_works '{}' --json kosmo integrations:crossref crossref_list_prefix_works '{}' --json crossref.crossref_list_funders
List funders.
read - Parameters
- none
kosmo integrations:call crossref.crossref_list_funders '{}' --json kosmo integrations:crossref crossref_list_funders '{}' --json crossref.crossref_get_funder
Get funder details.
read - Parameters
- none
kosmo integrations:call crossref.crossref_get_funder '{}' --json kosmo integrations:crossref crossref_get_funder '{}' --json crossref.crossref_list_funder_works
List works for a funder.
read - Parameters
- none
kosmo integrations:call crossref.crossref_list_funder_works '{}' --json kosmo integrations:crossref crossref_list_funder_works '{}' --json crossref.crossref_list_types
List work types.
read - Parameters
- none
kosmo integrations:call crossref.crossref_list_types '{}' --json kosmo integrations:crossref crossref_list_types '{}' --json crossref.crossref_get_type
Get work type details.
read - Parameters
- none
kosmo integrations:call crossref.crossref_get_type '{}' --json kosmo integrations:crossref crossref_get_type '{}' --json crossref.crossref_list_type_works
List works for a type.
read - Parameters
- none
kosmo integrations:call crossref.crossref_list_type_works '{}' --json kosmo integrations:crossref crossref_list_type_works '{}' --json crossref.crossref_list_licenses
List licenses.
read - Parameters
- none
kosmo integrations:call crossref.crossref_list_licenses '{}' --json kosmo integrations:crossref crossref_list_licenses '{}' --json Function Schemas
Use these parameter tables when building CLI payloads without calling integrations:schema first.
crossref.crossref_list_works 0 parameters
kosmo integrations:schema crossref.crossref_list_works --json | Parameter | Type | Required | Description |
|---|---|---|---|
| No parameters. | |||
crossref.crossref_get_work 0 parameters
kosmo integrations:schema crossref.crossref_get_work --json | Parameter | Type | Required | Description |
|---|---|---|---|
| No parameters. | |||
crossref.crossref_get_work_agency 0 parameters
kosmo integrations:schema crossref.crossref_get_work_agency --json | Parameter | Type | Required | Description |
|---|---|---|---|
| No parameters. | |||
crossref.crossref_list_journals 0 parameters
kosmo integrations:schema crossref.crossref_list_journals --json | Parameter | Type | Required | Description |
|---|---|---|---|
| No parameters. | |||
crossref.crossref_get_journal 0 parameters
kosmo integrations:schema crossref.crossref_get_journal --json | Parameter | Type | Required | Description |
|---|---|---|---|
| No parameters. | |||
crossref.crossref_list_journal_works 0 parameters
kosmo integrations:schema crossref.crossref_list_journal_works --json | Parameter | Type | Required | Description |
|---|---|---|---|
| No parameters. | |||
crossref.crossref_list_members 0 parameters
kosmo integrations:schema crossref.crossref_list_members --json | Parameter | Type | Required | Description |
|---|---|---|---|
| No parameters. | |||
crossref.crossref_get_member 0 parameters
kosmo integrations:schema crossref.crossref_get_member --json | Parameter | Type | Required | Description |
|---|---|---|---|
| No parameters. | |||
crossref.crossref_list_member_works 0 parameters
kosmo integrations:schema crossref.crossref_list_member_works --json | Parameter | Type | Required | Description |
|---|---|---|---|
| No parameters. | |||
crossref.crossref_get_prefix 0 parameters
kosmo integrations:schema crossref.crossref_get_prefix --json | Parameter | Type | Required | Description |
|---|---|---|---|
| No parameters. | |||
crossref.crossref_list_prefix_works 0 parameters
kosmo integrations:schema crossref.crossref_list_prefix_works --json | Parameter | Type | Required | Description |
|---|---|---|---|
| No parameters. | |||
crossref.crossref_list_funders 0 parameters
kosmo integrations:schema crossref.crossref_list_funders --json | Parameter | Type | Required | Description |
|---|---|---|---|
| No parameters. | |||
crossref.crossref_get_funder 0 parameters
kosmo integrations:schema crossref.crossref_get_funder --json | Parameter | Type | Required | Description |
|---|---|---|---|
| No parameters. | |||
crossref.crossref_list_funder_works 0 parameters
kosmo integrations:schema crossref.crossref_list_funder_works --json | Parameter | Type | Required | Description |
|---|---|---|---|
| No parameters. | |||
crossref.crossref_list_types 0 parameters
kosmo integrations:schema crossref.crossref_list_types --json | Parameter | Type | Required | Description |
|---|---|---|---|
| No parameters. | |||
crossref.crossref_get_type 0 parameters
kosmo integrations:schema crossref.crossref_get_type --json | Parameter | Type | Required | Description |
|---|---|---|---|
| No parameters. | |||
crossref.crossref_list_type_works 0 parameters
kosmo integrations:schema crossref.crossref_list_type_works --json | Parameter | Type | Required | Description |
|---|---|---|---|
| No parameters. | |||
crossref.crossref_list_licenses 0 parameters
kosmo integrations:schema crossref.crossref_list_licenses --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.