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.2.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.2-py3-none-any.whl (14.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: caniollama-0.1.2.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.2.tar.gz
Algorithm Hash digest
SHA256 8dfb14ffd1749eb91a6c9200d834f47bbf0c88bcc606b8901123e0a7a809ac92
MD5 33788bed24f610b44f897b0a5943269b
BLAKE2b-256 ce2508f06c9ee2ffc0f2aafeb4b4eb4c55b5d5fec65fcaf6117a12082f0a2781

See more details on using hashes here.

Provenance

The following attestation bundles were made for caniollama-0.1.2.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.2-py3-none-any.whl.

File metadata

  • Download URL: caniollama-0.1.2-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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 509845b09237825370b98a2ce045fde10e2a83e52bdd81dc56bb353d83b6c7ae
MD5 444f2f5bdffab8e75f6ec5c0001c93cb
BLAKE2b-256 1850a5ce12f91cb5789c14819bf13c3f34194abc4722947cf3e70f07ed7d69df

See more details on using hashes here.

Provenance

The following attestation bundles were made for caniollama-0.1.2-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