floom
v0.1.6Deploy Python functions as web apps with auto-generated UI, REST API, and shareable links.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
deploy
Deploy Python code to Floom and get a usable URL. Accepts raw Python source or a base64-encoded ZIP. Optionally include a floom.yaml config to declare endpoint schemas, secrets, and resource requirements.
| Parameter | Type | Description |
|---|---|---|
code * | string | Python source code or base64-encoded ZIP bundle |
name * | string | Project name (lowercase, hyphens allowed) |
config | object | floom.yaml configuration: declare endpoint schemas, required secrets, and resource settings |
requirements | array | Python package requirements (e.g. ["requests==2.31.0", "pandas"]) |
run
Execute an action on a deployed Floom app. Preferred: use app_slug + action for simple invocation. Alternative: use project_id + endpoint_id + version_id for explicit control.
| Parameter | Type | Description |
|---|---|---|
action | string | Action name (e.g. "count", "generate"). Used with app_slug. |
app_slug | string | App slug for simple invocation (e.g. "my-app") |
callback_url | string | URL to receive a POST with the run result when it completes (webhook) |
endpoint_id | string | Endpoint ID (e.g. "post--generate_invoice"). Used with project_id. |
json | object | JSON body to send to the endpoint |
params | object | Query parameters |
project_id | string | Project ID (alternative to app_slug) |
timeout_seconds | number | Max execution time in seconds (default 60) |
version_id | string | Version ID. Used with project_id. |
list_projects
List all deployed Floom projects.
get_project
Get details for a Floom project including endpoint schemas and input parameters. Use this before calling run to see what inputs an endpoint expects.
| Parameter | Type | Description |
|---|---|---|
project_id * | string | Project ID |
manage_secrets
Manage secrets for a Floom project. Supports list, set, and delete operations.
| Parameter | Type | Description |
|---|---|---|
action * | string | Action to perform |
project_id * | string | Project ID |
key | string | Secret key (required for set/delete) |
value | string | Secret value (required for set) |
get_logs
Get recent run logs for a Floom project.
| Parameter | Type | Description |
|---|---|---|
project_id * | string | Project ID |
limit | number | Number of recent runs to fetch (default 10) |
list_versions
List all versions of a Floom project. Shows which version is dev (latest deploy) and which is prod (promoted).
| Parameter | Type | Description |
|---|---|---|
project_id * | string | Project ID |
promote
Promote a version to production. By default promotes the current dev version. Runs a health check; auto-rolls back if the check fails.
| Parameter | Type | Description |
|---|---|---|
project_id * | string | Project ID |
version_id | string | Version ID to promote (defaults to current dev version) |
rollback
Rollback production to a previous version.
| Parameter | Type | Description |
|---|---|---|
project_id * | string | Project ID |
version_id * | string | Version ID to rollback to |
storage_set
Store a persistent key-value pair for a Floom project. Values persist across runs and deploys.
| Parameter | Type | Description |
|---|---|---|
key * | string | Storage key (alphanumeric, dots, underscores, hyphens; max 256 chars) |
project_id * | string | Project ID |
value | Value to store (any JSON-serializable data) |
storage_get
Retrieve a stored value for a Floom project.
| Parameter | Type | Description |
|---|---|---|
key * | string | Storage key |
project_id * | string | Project ID |
storage_delete
Delete a stored value for a Floom project.
| Parameter | Type | Description |
|---|---|---|
key * | string | Storage key |
project_id * | string | Project ID |
storage_list
List all stored keys for a Floom project with usage info.
| Parameter | Type | Description |
|---|---|---|
project_id * | string | Project ID |
fetch_context
Fetch external data from a URL and attach it as context to a Floom project. Context data enhances AI-powered endpoints.
| Parameter | Type | Description |
|---|---|---|
name * | string | Context name (alphanumeric, hyphens, underscores) |
project_id * | string | Project ID |
url * | string | URL to fetch context from |
list_contexts
List all context entries for a Floom project.
| Parameter | Type | Description |
|---|---|---|
project_id * | string | Project ID |
delete_context
Remove a context entry from a Floom project.
| Parameter | Type | Description |
|---|---|---|
context_id * | string | Context ID to remove |
project_id * | string | Project ID |
delete_project
Delete a Floom project and all its data (versions, runs, secrets, storage).
| Parameter | Type | Description |
|---|---|---|
project_id * | string | Project ID to delete |
update_project
Update a Floom project name or slug.
| Parameter | Type | Description |
|---|---|---|
project_id * | string | Project ID |
name | string | New project name |
slug | string | New project slug |
deploy_from_github
Deploy a Floom app directly from a GitHub repository URL.
| Parameter | Type | Description |
|---|---|---|
github_url * | string | GitHub repository URL (e.g. "https://github.com/user/repo") |
name * | string | Project name |
github_ref | string | Branch or tag to deploy (default: main) |
list_templates
List available starter templates for Floom projects.
get_template
Get details and code preview for a Floom starter template.
| Parameter | Type | Description |
|---|---|---|
template_id * | string | Template ID |
create_from_template
Create a new Floom project from a starter template.
| Parameter | Type | Description |
|---|---|---|
template_id * | string | Template ID to create from |
name | string | Project name (defaults to template name) |
get_context
Retrieve stored context data for a Floom project.
| Parameter | Type | Description |
|---|---|---|
context_id * | string | Context ID |
project_id * | string | Project ID |
refresh_context
Re-fetch context data from its source URL.
| Parameter | Type | Description |
|---|---|---|
context_id * | string | Context ID to refresh |
project_id * | string | Project ID |
create_schedule
Create a cron schedule that automatically runs an endpoint at specified intervals.
| Parameter | Type | Description |
|---|---|---|
cron * | string | Cron expression (e.g. "*/5 * * * *" for every 5 minutes, "0 9 * * *" for daily at 9am) |
endpoint_id * | string | Endpoint ID to schedule (e.g. "post--generate") |
project_id * | string | Project ID |
input | object | JSON input to pass to the endpoint on each run |
timeout_seconds | number | Max execution time per run (default: 60) |
timezone | string | IANA timezone (default: UTC) |
list_schedules
List all cron schedules for a Floom project.
| Parameter | Type | Description |
|---|---|---|
project_id * | string | Project ID |
delete_schedule
Delete a cron schedule from a Floom project.
| Parameter | Type | Description |
|---|---|---|
project_id * | string | Project ID |
schedule_id * | string | Schedule ID to delete |
enable_webhooks
Enable public inbound webhooks for a Floom project. Once enabled, external services can trigger runs via POST /v1/webhooks/:slug/:action without authentication.
| Parameter | Type | Description |
|---|---|---|
project_id * | string | Project ID |
disable_webhooks
Disable public inbound webhooks for a Floom project.
| Parameter | Type | Description |
|---|---|---|
project_id * | string | Project ID |