AI agent instructions
AI agent instructions
create_run() only if you need the run ID
before execution, then pass it as function_run_id. When function_run_id
is omitted, run() automatically creates a new run.
Omit runtime to use the saved function default. Pass runtime=“extended”
for longer cloud execution, or runtime=“standard” to override that default.
Use input_variables={"runtime": value} for script inputs whose names match
SDK options; these are merged with keyword inputs, rejecting duplicates.
Make sure that the correct variables are provided based on the python file previously uploaded. Otherwise, the workflow will fail
Parameters
UnionType[str, None]
default:"None"
bool
default:"False"
bool
default:"True"
UnionType[int, None]
default:"None"
bool
default:"True"
bool
default:"True"
UnionType[str, None]
default:"None"
UnionType[str, None]
default:"None"
UnionType[Callable[[str], None], None]
default:"None"
Literal['standard', 'extended'] | None
default:"None"
UnionType[Dict[str, Any], None]
default:"None"
Any
required
Returns
FunctionRunResponse