Get function
get_functionRead one sandboxed user function by id from the caller's workspace — its name, description, code, input/output schemas, version, status and exposed_as_tool flag. Read-only. Returns null when no such function is visible to the caller (a wrong-owner/tenant id is indistinguishable from a missing one — it never leaks another workspace's function).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"function_id": "<function_id>"
},
"name": "get_function"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| function_id | Yes |