Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

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.

  • Score 69
  • 228 stars
  • NOASSERTION
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

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-calling

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install supervisor-api-client-function-calling in Claude Code

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

A

No 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 →

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.

supervisor-api-client-function-calling Install

Add to stack

Loading.