flutter-edge-ai-function-calling SKILL.md skillA
flutter-edge-ai-function-calling from denisovav/flutter_edge_ai is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add denisovav/flutter_edge_ai/flutter-edge-ai-function-calling@git:20261018.1df5de7Pins git:20261018.1df5de7 in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 17 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- denisovav/flutter_edge_ai
- Path
packages/flutter_edge_ai/skills/flutter-edge-ai-function-calling/SKILL.md- Versions recorded
- 5
- Latest version
- git:20261018.1df5de7, committed Oct 18, 2026
- First version recorded
- Oct 14, 2026
- Size
- 9,546 bytes
- Repository stars
- 649
- License
- MIT
Use when adding function calling (tool calling) to a flutter_edge_ai chat — letting an on-device model call the app's own Dart functions, declaring Tool objects, handling FunctionCallResponse or ParallelFunctionCallResponse, returning results with Message.toolResponse, or running the built-in tool loop generateChatResponseWithTools. Also use when the model describes an action in prose instead of calling the tool, raw tool-call markers appear in the reply text, or a switch over ModelResponse…
Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.
What the file says
# Function calling with flutter_edge_ai Packages, engine and model install are in the flutter-edge-ai-inference skill. This one starts from a loaded `InferenceModel`. ## Rules 1. `createChat` needs `tools` and `supportsFunctionCalls: true`. Without the flag no call is parsed and only a debug warning is logged — and on `.litertlm` with Gemma 4 or FunctionGemma the declarations still reach the SDK, so the model answers with raw tool-call JSON inside the text stream. 2. Pass `modelType` on web and on ONNX. `createChat` on native `.litertlm`, on MediaPipe Android and iOS, and on built-in AI uses the installed model's type when it is left out; the web engines and ONNX fall back to `ModelType.gemmaIt`, and another model's calls then arrive as raw text. `openChat` always falls back — pass it there on every platform. On `flutter_edge_ai_llama` (GGUF) llamadart reads the calls through the file's own chat template: `modelType`, which `createChat` and `openChat` both take from the install, only picks sampling defaults, and the tools are on unless `supportsFunctionCalls: false`. …
Read the whole file at its exact version.
How to install
mdr add denisovav/flutter_edge_ai/flutter-edge-ai-function-calling@sha256:64aee4ef3e7a7ce6The line at the top of this page pins the label git:20261018.1df5de7, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.
[](https://markdownregistry.com/a/art_rcqrmay6xib6wrqn)
2 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 5 versions of this file, between Oct 14, 2026 and Oct 18, 2026, about one every day.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20261018.1df5de7 latest | 2026-10-18 | 1df5de7 | 9,546 B | A | view · diff |
| git:20261017.1cf1125 | 2026-10-17 | 1cf1125 | 8,151 B | A | view · diff |
| git:20261016.d35c575 | 2026-10-16 | d35c575 | 8,111 B | A | view · diff |
| git:20261015.6f41abb | 2026-10-15 | 6f41abb | 6,670 B | A | view · diff |
| git:20261014.4cd688f | 2026-10-14 | 4cd688f | 6,433 B | A | view |
Audit of the latest version
- pass: Frontmatter block present
- pass: Frontmatter declares a name
- pass: Frontmatter declares a description
- pass: Size between 200 bytes and 200 KB (9546 bytes)
- pass: No zero-width or bidi control characters
- pass: No instruction hidden inside an HTML comment
- pass: No link to an exfiltration or paste host
- pass: No credential-shaped string
- pass: No instruction to send local credentials anywhere
- pass: No text hidden with inline styles
- pass: No prompt-injection phrasing
- pass: No curl or wget piped into a shell
- pass: No recursive delete of root, home or parent
- pass: No instruction to read or print local credentials
- pass: No base64 blob over 200 characters
- pass: No link to a raw IP address
- pass: No script tag
Source
denisovav/flutter_edge_ai · 649 stars · license MIT · pushed 2026-10-31 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_rcqrmay6xib6wrqn GET https://markdownregistry.com/api/v1/resolve?ref=denisovav/flutter_edge_ai/flutter-edge-ai-function-calling GET https://markdownregistry.com/api/v1/blob/64aee4ef3e7a7ce6cf54abc236f9bcbc429bcd06cb0a174632a4e12839b60ed1
Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.
Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.