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

Metadata

Release files for caniollama 0.1.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for caniollama 0.1.4
File Size Uploaded Provenance Actions
caniollama-0.1.4.tar.gz 11.5 kB With provenance Details for caniollama-0.1.4.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for caniollama 0.1.4
File Interpreter ABI Platform Actions
caniollama-0.1.4-py3-none-any.whl Python 3 none any Details for caniollama-0.1.4-py3-none-any.whl

Total release size: 26.0 kB

Release files / caniollama-0.1.4.tar.gz

Download URL caniollama-0.1.4.tar.gz
Size 11.5 kB
Tags Source
SHA-256 checksum
How to use checksums
65ef0e49bf65f5a61c867d553b33ed00c1a4bf094c40b9ef3db3b0ca3358d0fd
BLAKE2b-256 checksum
How to use checksums
243cfbf79e86853b42f3c14e1278335e0bd8467d2256063e99bec9445eb8c5d2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 7, 2026.

Transparency log

Release files / caniollama-0.1.4-py3-none-any.whl

Download URL caniollama-0.1.4-py3-none-any.whl
Size 14.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2738db6b5db12f6dc36a520221de6165dbf3b2e4a4ae1038cf4597a1e44428dd
BLAKE2b-256 checksum
How to use checksums
42cf14c861291d695d7d3705f2476f8e2219255a8bcd3a082fc729f057d3e50c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 7, 2026.

Transparency log

Security for caniollama 0.1.4

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for caniollama-0.1.4.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 7, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page