---
title: "POST /api/kernel/function_call"
method: POST
path: "/api/kernel/function_call"
---

# POST /api/kernel/function_call

`POST /api/kernel/function_call`

## Headers

- `Marimo-Session-Id` string, required

## Request body

- InvokeFunctionRequest
  - `args` object, required
  - `functionCallId` string, request-id, required
  - `functionName` string, required
  - `namespace` string, required

## Response `200`

Invoke an RPC

- SuccessResponse
  - `success` boolean

## Changes

- **2026-03-31** `41bba414df27` — 1 breaking
  - the `functionCallId` request property type/format changed from `string`/`` to `string`/`request-id`
- **2026-03-18** `f29fa637d35b` — 1 info
  - the `functionCallId` request property type/format was generalized from `string`/`request-id` to `string`/``

[Change history](https://skmtc.dev/marimo-team/apis/marimo-api/changes/api/kernel/function_call/post.md)

---

[API](https://skmtc.dev/marimo-team/apis/marimo-api.md) · [All operations](https://skmtc.dev/marimo-team/apis/marimo-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/marimo-team/marimo-api/revisions/a39082aac3ce/schema)
