AI agent instructions
AI agent instructions
PATCH /functions/{function_id}.
Fields
Enable or disable public code sharing and forking for this function. Source code, including embedded credentials, becomes public. Runs, results and stored runtime secrets remain private. This does not enable public execution. Omit or send null to leave sharing unchanged.
Turn deletion protection on or off. While it is on, the function cannot be deleted. Any workspace member’s key can turn it on; turning it off takes the key of a workspace admin or owner. Omit or send null to leave it unchanged.
Rename the function’s short name in https://functions.notte.cc/<slug>: 3 to 48 lowercase letters, digits and inner hyphens, unique across all functions (409 when another function has it). Omit or send null to leave it unchanged.
JSON Schema of run()‘s return value, computed by the caller from its pydantic model
Exception class names the function raises on purpose. A failed run whose exception has one of these names in its class hierarchy ends rejected and is never self-healed. Replaces the stored list; send [] to clear it. Omit or send null to leave it unchanged.