# FlowModuleTool
## Properties
**input_transforms** | [**models::AiAgentInputTransforms**](AiAgent_input_transforms.md) | |
**content** | **String** | The script source code. Should export a 'main' function |
**language** | **String** | Programming language for this script |
**path** | **String** | Path to the flow in the workspace (e.g., 'f/flows/process_user') |
**lock** | Option<**String**> | Lock file content for dependencies | [optional]
**r#type** | **String** | |
**tag** | Option<**String**> | Worker group tag for execution routing | [optional]
**concurrent_limit** | Option<**f64**> | Maximum concurrent executions of this script | [optional]
**concurrency_time_window_s** | Option<**f64**> | Time window for concurrent_limit | [optional]
**custom_concurrency_key** | Option<**String**> | Custom key for grouping concurrent executions | [optional]
**is_trigger** | Option<**bool**> | If true, this script is a trigger that can start the flow | [optional]
**assets** | Option<[**Vec<models::RawScriptAssetsInner>**](RawScript_assets_inner.md)> | External resources this script accesses (S3 objects, resources, etc.) | [optional]
**hash** | Option<**String**> | Optional specific version hash of the script to use | [optional]
**tag_override** | Option<**String**> | Override the script's default worker group tag | [optional]
**modules** | [**Vec<models::FlowModule>**](FlowModule.md) | Steps to execute in each iteration. Use stop_after_if to control when the loop ends |
**iterator** | [**models::InputTransform**](InputTransform.md) | |
**skip_failures** | **bool** | If true, iteration failures don't stop the loop. Failed iterations return null |
**parallel** | Option<**bool**> | If true, the agent can execute multiple tool calls in parallel | [optional]
**parallelism** | Option<[**models::InputTransform**](InputTransform.md)> | | [optional]
**squash** | Option<**bool**> | | [optional]
**branches** | [**Vec<models::BranchAllBranchesInner>**](BranchAll_branches_inner.md) | Array of branches that all execute (either in parallel or sequentially) |
**default** | [**Vec<models::FlowModule>**](FlowModule.md) | Steps to execute if no branch expressions match |
**flow** | Option<**bool**> | If true, marks this as a flow identity (special handling) | [optional]
**tools** | [**Vec<models::AgentTool>**](AgentTool.md) | Array of tools the agent can use. The agent decides which tools to call based on the task |
**tool_type** | **String** | |
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)