supervisor-api-client-function-calling
Skill by databricks
Adds client-side function tools to the Databricks Supervisor API. It is for developers who want their own Python callables to run alongside hosted tool calls in one conversation.
Install supervisor-api-client-function-calling
Built from the published package, never by AI.
git clone --depth 1 https://github.com/databricks/app-templates /tmp/app-templates && mkdir -p ~/.claude/skills && cp -r /tmp/app-templates/.claude/skills/supervisor-api-client-function-calling ~/.claude/skills/supervisor-api-client-function-callingRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
Step-by-step: install supervisor-api-client-function-calling in Claude Code
git clone --depth 1 https://github.com/databricks/app-templates /tmp/app-templates && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/app-templates/.claude/skills/supervisor-api-client-function-calling ~/.gemini/antigravity-cli/skills/supervisor-api-client-function-callingAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install supervisor-api-client-function-calling in Antigravity CLI
Skills can run scripts on your machine. Some need an API key: check the README.
About
This skill explains how to declare client-side function tools (type "function") for the Databricks Supervisor API. The API returns a pending function_call, the application runs its own Python callable, and the conversation resumes by appending a function_call_output to the next request. The examples cover a function-only flow, a streaming version, and mixed flows that combine function tools with a hosted UC function or an MCP server that requires approval.
It is aimed at developers building Python apps on Databricks who need custom business logic, such as calls to their own database or external APIs, to run next to hosted tools. The source lists two rules: tool names must match a letters, digits, underscores and hyphens pattern up to 64 characters, and parameters must be a JSON Schema object or omitted. It also notes that the API echoes full history on each request, and that previous_response_id chaining is on the roadmap.
Written from the project's SKILL.md and checked against it.
What it can do
- Declare function toolsDefines a callable tool with a name, description and JSON Schema parameters for the Supervisor API.
- Run function-only flowExecutes a single client-side function call and returns its output for the final model answer.
- Stream function callsCollects a streamed response, runs pending function calls, then resumes with a second streamed request.
- Mix with UC functionsCombines a hosted uc_function tool with client-side function tools in the same request.
- Mix with MCP approvalHandles MCP approval requests and client-side function calls in a loop until no work is pending.
- Continue conversation historyAppends response output and function_call_output items to the input list for each follow-up request.
What you need
- Databricks workspace with the Supervisor API
- Python
- databricks-sdk and databricks-openai packages
Try asking
- Add a get_weather function tool to my Supervisor API app
- Mix a Python function tool with a UC function in one Supervisor API call
- Stream a Supervisor API response that runs my custom function
Good to know
- previous_response_id chaining is on the roadmap and not yet available
- Tool names must match ^[a-zA-Z0-9_-]{1,64}$
- Hosted function_call items must not be executed locally
- The supervisor serializes turns, so one tool runs at a time per response
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: .claude/skills/supervisor-api-client-function-calling/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to supervisor-api-client-function-calling
All alternatives →Aligns a Qwen Code feature with a Codex or Claude Code reference agent. It runs both under the same scenario, captures HTTP and terminal traces, and compares them until behavior matches.
Searches, views, creates, updates, and deletes the user's Google Contacts from an AI assistant. It is for people who want to manage their address book through conversation. A one-time Google connect is required before it returns data.
Guides an AI assistant on error handling choices. It covers when to use Result, Option, ? propagation, unwrap, expect and panic, plus anyhow and thiserror.
Caveman is an agent skill that makes an AI assistant reply in a terse style. It cuts filler and keeps technical facts, code, commands and errors exact. It is built for users who want shorter, cheaper replies.
docs-sync audits or updates English SDK documentation against the requested implementation scope. It is for maintainers who want docs to match main branch features, configuration options, and defaults.
Guides an AI assistant through setting up and running monorepos with pnpm workspaces, Turborepo and Nx. Aimed at developers who need faster builds, shared code and managed dependencies across multiple packages.
Compare with agent-reproduce-align, google_contacts or m06-error-handling
supervisor-api-client-function-calling: common questions
What is a client-side function tool in the Supervisor API?
It is a tool with type "function" that the application executes itself. The API returns the pending function_call and waits for the app to send back a function_call_output.
How do I avoid running hosted tool calls twice?
Filter function_call items by name against your local tool map and skip any that are not present. Hosted calls are already executed by the server and only need to be echoed back as history.
Does the skill cover streaming?
Yes. It includes a streaming function-only flow that collects the completed response, runs pending function calls, and makes a second streamed request for the final answer.
How do I install supervisor-api-client-function-calling?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is supervisor-api-client-function-calling free?
The code is published under the NOASSERTION licence. The service it connects to may have its own pricing.
Is supervisor-api-client-function-calling safe to use?
It scores 69 of 100. Grades: maintenance A, licence F, quality B. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to supervisor-api-client-function-calling?
Similar skills: agent-reproduce-align, google_contacts, m06-error-handling, caveman.
