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

Uploaded Python 3

File details

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

File metadata

  • Download URL: caniollama-0.1.3.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.3.tar.gz
Algorithm Hash digest
SHA256 3af1c2fca87f89e22352af6d48b6674df4c5c81d072d59fe4d1e54cc85698671
MD5 7b3a63c52b1242511077325a1e5fb71d
BLAKE2b-256 80c4c9ab1fe9ccb0fde20a9bc2040caa76d4f04c188cd59de3606c56545243f8

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: caniollama-0.1.3-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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 31fb400a99ddd4dc090f50214b5382355225c970337356bcbb00f8ad3d5b331c
MD5 53a3158a5098d2f7f302cef776ba38be
BLAKE2b-256 4fc3ae3bd50df6f5007291e580ec9c045eaa04b1ef21e3ea0765a1096eba7104

See more details on using hashes here.

Provenance

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