Arcane OS Docs Development only

Reference

Arcane.ollama.list()

Alias of the raw models() inventory.

  • Reference

This focused page is derived from the mechanically checked full member inventory.

Syntax

Arcane.ollama.list()

Parameters

None

Return value

Promise<OllamaModelsResponse>

Description

Alias of the raw models() inventory.

Overview

Arcane.ollama.list() is a JavaScript alias for Arcane.ollama.models(). It invokes the same ollama.models Core method and returns the same raw tags envelope. Prefer one spelling consistently within an application.

Parameters

The method takes no arguments.

Return value

It resolves to the bounded provider-native /api/tags envelope, not a bare model array.

Availability

The alias has exactly the ollama.models boundary: desktop Core, ai.models.read, and Settings, Shell, or Terminal only. There is no distinct ollama.list capability-policy method and no Android projection.

Errors and recovery

Handle the same local-provider and method-admission errors as Arcane.ollama.models(). A retry is useful only after service health or transport state can have changed.

Streaming, cancellation, and events

This is a non-streaming read with no method event or signal. It does not create a second catalog or cache; it is just another wrapper name for the same call.

Example

const tags = await globalThis.Arcane.ollama.list();
const installedCount = Array.isArray(tags.models) ? tags.models.length : 0;

console.info(installedCount);

Reference group

AI and Ollama

Repository and reviewed source access