hal_model_info: Inspect a single model in detail

View source: R/models.R

hal_model_infoR Documentation

Inspect a single model in detail

Description

Returns the full per-model record, including the raw ⁠_meta⁠ payload from the ACP server. Useful for debugging or accessing fields that hal_models() doesn't surface as columns.

Usage

hal_model_info(id = NULL, client = NULL)

Arguments

id

Model identifier. If NULL, prints available ids and returns them invisibly.

client

A HalClient instance, or NULL to create one.

Value

A list with id, name, description, provider, family, usage, multiplier, is_default, context_window, release_date, and meta (raw ⁠_meta⁠ list from the server, or NULL for Claude).

Examples

## Not run: 
ids <- hal_model_info()   # print available ids
hal_model_info(ids[[1]])  # inspect the first one

## End(Not run)

hal documentation built on Oct. 6, 2026, 5:07 p.m.