Skip to main content

caniollama

Does this local Ollama model actually support tool calling? Find out in seconds, not by reading a six-month-old blog post.

uvx caniollama check qwen2.5-coder:7b

or test everything you've pulled:

uvx caniollama check

What it does

Runs a small, fixed test suite against a locally running Ollama instance and classifies the result into one of three real answers:

  1. Structured pass -- the model returns a proper tool_calls field.
  2. JSON-in-content fallback -- the model knows tool calling exists but emits the intent as JSON-shaped text instead of the structured field.
  3. Rejected by backend -- Ollama 400s the moment tools is included.

After a run, you'll be asked -- every time, explicitly -- whether to submit the result (metadata only: model name, quantization, Ollama version, pass/fail per case) to the public caniollama registry. See docs/privacy.md for exactly what is and isn't ever sent.

Install

No install needed for a one-off check:

uvx caniollama check <model>
# or
pipx run caniollama check <model>

For repeated use:

uv tool install caniollama

Development

uv sync
uv run pytest
uv run ruff check .
uv run mypy src

License

MIT

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

caniollama-0.1.1.tar.gz (14.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

caniollama-0.1.1-py3-none-any.whl (14.5 kB view details)

Uploaded Python 3

File details

Details for the file caniollama-0.1.1.tar.gz.

File metadata

  • Download URL: caniollama-0.1.1.tar.gz
  • Upload date:
  • Size: 14.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for caniollama-0.1.1.tar.gz
Algorithm Hash digest
SHA256 e94f34806ebd9eef0e6c84bac416c1bfab1dc42d0fd17dd17c092a87e184a003
MD5 3e0b36bbc582c5b4a64247ac339b5fb9
BLAKE2b-256 413770fb1d49b71af1526aff4a135d81a746aa4d2c96d15034b820e88f487ce2

See more details on using hashes here.

Provenance

The following attestation bundles were made for caniollama-0.1.1.tar.gz:

Publisher: release.yml on AnjalLLL/caniollama

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file caniollama-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: caniollama-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 14.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for caniollama-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 07b2b55c86ac5ea251cbf685ee7013b08a4d5cbcddd05703940770f8b58a8e90
MD5 40e074598c01e43a6eb614107be7d488
BLAKE2b-256 b18341b80a5626093e6f7c7526c8df62caeca67e1378ad9208759f06bbdae4d4

See more details on using hashes here.

Provenance

The following attestation bundles were made for caniollama-0.1.1-py3-none-any.whl:

Publisher: release.yml on AnjalLLL/caniollama

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page