Call App Function
call_app_functionCall one function of this project's own backend, the way its own code would: a function the project exports from helpers/flootAppExports.tsx, run in its published app, returning that function's JSON result. list_files shows the project's exported functions with their signatures; the function name and its input come from there. Use it to test an export after publishing it, or to do something for the user through the app's own logic instead of raw SQL. The function runs for real (a function that writes, sends or charges does so), so call one that changes anything only when the user asked for that change. Only functions in the last publish; needs edit access to the project. Up to 25 seconds; no answer in time does not mean it did not run. Details: get_guides("app-calls").
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": {
"projectId": "<projectId>",
"function": "<function>"
},
"name": "call_app_function"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| input | No | The function's argument as JSON, of the type its signature in list_files shows. Omit for a function that takes none. | |
| function | Yes | The name of a function this project exports from helpers/flootAppExports.tsx, as list_files shows it. | |
| projectId | Yes | ||
| timeout_seconds | No | How long to wait for the function, in seconds. |