{"ok":true,"site":{"host":"samar0-star.github.io","url":"https://samar0-star.github.io/cloudswarm-studio/","type":"live","desc":"CloudSwarm Studio","tools":[{"name":"orchestrate_cloud_topology","kind":"act","impl":"imperative","description":"Decomposes natural language prompts and synthesizes multi-cloud architecture topology across AWS, Azure, and GCP.","inputSchema":{"type":"object","properties":{}},"hasHandler":true,"hasExecute":true,"__source":"spec","executable":true,"handlerField":"execute","page":"/cloudswarm-studio/"},{"name":"create_resource_node","kind":"act","impl":"imperative","description":"Instantiates a new cloud resource node on the canvas with validated configuration.","inputSchema":{"type":"object","properties":{}},"hasHandler":true,"hasExecute":true,"__source":"spec","executable":true,"handlerField":"execute","page":"/cloudswarm-studio/"},{"name":"update_resource_node","kind":"act","impl":"imperative","description":"Updates properties or configuration of an existing canvas node.","inputSchema":{"type":"object","properties":{}},"hasHandler":true,"hasExecute":true,"__source":"spec","executable":true,"handlerField":"execute","page":"/cloudswarm-studio/"},{"name":"update_node_config","kind":"act","impl":"imperative","description":"Updates granular configuration fields of a specific node.","inputSchema":{"type":"object","properties":{}},"hasHandler":true,"hasExecute":true,"__source":"spec","executable":true,"handlerField":"execute","page":"/cloudswarm-studio/"},{"name":"connect_resources","kind":"act","impl":"imperative","description":"Creates a directed edge between two cloud resources.","inputSchema":{"type":"object","properties":{}},"hasHandler":true,"hasExecute":true,"__source":"spec","executable":true,"handlerField":"execute","page":"/cloudswarm-studio/"},{"name":"remove_resource_node","kind":"act","impl":"imperative","description":"Deletes a resource node and its associated edges from canvas.","inputSchema":{"type":"object","properties":{}},"hasHandler":true,"hasExecute":true,"__source":"spec","executable":true,"handlerField":"execute","page":"/cloudswarm-studio/"},{"name":"get_canvas_state","kind":"answer","impl":"imperative","description":"Returns the current complete topology snapshot of all nodes and edges.","inputSchema":{"type":"object","properties":{}},"hasHandler":true,"hasExecute":true,"__source":"spec","executable":true,"handlerField":"execute","page":"/cloudswarm-studio/"},{"name":"clear_canvas","kind":"act","impl":"imperative","description":"Resets the canvas to an empty root state.","inputSchema":{"type":"object","properties":{}},"hasHandler":true,"hasExecute":true,"__source":"spec","executable":true,"handlerField":"execute","page":"/cloudswarm-studio/"},{"name":"canvas_clear","kind":"act","impl":"imperative","description":"Alias for clear_canvas.","inputSchema":{"type":"object","properties":{}},"hasHandler":true,"hasExecute":true,"__source":"spec","executable":true,"handlerField":"execute","page":"/cloudswarm-studio/"},{"name":"apply_canvas_layout","kind":"act","impl":"imperative","description":"Deterministically organizes all canvas nodes into a balanced, non-overlapping 3-tier directional workflow DAG with zero bounding-box overlaps.","inputSchema":{"type":"object","properties":{}},"hasHandler":true,"hasExecute":true,"__source":"spec","executable":true,"handlerField":"execute","page":"/cloudswarm-studio/"},{"name":"inspect_distributed_locks","kind":"answer","impl":"imperative","description":"Inspects active multi-agent distributed resource locks (StripedLockManager) to verify concurrency and mutual exclusion.","inputSchema":{"type":"object","properties":{}},"hasHandler":true,"hasExecute":true,"__source":"spec","executable":true,"handlerField":"execute","page":"/cloudswarm-studio/"},{"name":"time_travel_to_step","kind":"act","impl":"imperative","description":"Rewinds or fast-forwards the canvas topology to any historical commit step in the Decision DAG timeline.","inputSchema":{"type":"object","properties":{}},"hasHandler":true,"hasExecute":true,"__source":"spec","executable":true,"handlerField":"execute","page":"/cloudswarm-studio/"},{"name":"fork_architecture_branch","kind":"act","impl":"imperative","description":"Creates an isolated experimental architecture branch (e.g. disaster-recovery-plan, arm64-migration) to test topology alternatives.","inputSchema":{"type":"object","properties":{}},"hasHandler":true,"hasExecute":true,"__source":"spec","executable":true,"handlerField":"execute","page":"/cloudswarm-studio/"},{"name":"switch_architecture_branch","kind":"act","impl":"imperative","description":"Switches the active visual canvas between branches (e.g. switching between main and dr-site).","inputSchema":{"type":"object","properties":{}},"hasHandler":true,"hasExecute":true,"__source":"spec","executable":true,"handlerField":"execute","page":"/cloudswarm-studio/"},{"name":"compare_architecture_branches","kind":"act","impl":"imperative","description":"Computes deep structural, cost, and security diffs between two branches or commits in the Decision DAG.","inputSchema":{"type":"object","properties":{}},"hasHandler":true,"hasExecute":true,"__source":"spec","executable":true,"handlerField":"execute","page":"/cloudswarm-studio/"},{"name":"get_dag_history","kind":"answer","impl":"imperative","description":"Returns the complete Decision DAG commit timeline, active branch, and historical state commits.","inputSchema":{"type":"object","properties":{}},"hasHandler":true,"hasExecute":true,"__source":"spec","executable":true,"handlerField":"execute","page":"/cloudswarm-studio/"},{"name":"export_terraform_hcl","kind":"act","impl":"imperative","description":"Compiles current visual canvas architecture into production-ready, syntax-valid HashiCorp Terraform / OpenTofu HCL2 code.","inputSchema":{"type":"object","properties":{}},"hasHandler":true,"hasExecute":true,"__source":"spec","executable":true,"handlerField":"execute","page":"/cloudswarm-studio/"},{"name":"import_terraform_hcl","kind":"act","impl":"imperative","description":"Parses raw Terraform HCL2 code and materializes it into interactive cloud resource nodes and edges.","inputSchema":{"type":"object","properties":{}},"hasHandler":true,"hasExecute":true,"__source":"spec","executable":true,"handlerField":"execute","page":"/cloudswarm-studio/"},{"name":"list_catalog_primitives","kind":"answer","impl":"imperative","description":"Queries the multi-cloud CAD catalog of 108 distinct cloud primitives across AWS, Azure, and GCP.","inputSchema":{"type":"object","properties":{}},"hasHandler":true,"hasExecute":true,"__source":"spec","executable":true,"handlerField":"execute","page":"/cloudswarm-studio/"},{"name":"get_primitive_schema","kind":"answer","impl":"imperative","description":"Returns granular configuration schema, default settings, and pricing metrics for a specific cloud primitive type.","inputSchema":{"type":"object","properties":{}},"hasHandler":true,"hasExecute":true,"__source":"spec","executable":true,"handlerField":"execute","page":"/cloudswarm-studio/"},{"name":"audit_iam_zero_trust","kind":"act","impl":"imperative","description":"Audits topology for IAM least-privilege and CIS benchmark violations.","inputSchema":{"type":"object","properties":{}},"hasHandler":true,"hasExecute":true,"__source":"spec","executable":true,"handlerField":"execute","page":"/cloudswarm-studio/"},{"name":"generate_least_privilege_policy","kind":"answer","impl":"imperative","description":"Generates scoped IAM policies with minimal necessary actions.","inputSchema":{"type":"object","properties":{}},"hasHandler":true,"hasExecute":true,"__source":"spec","executable":true,"handlerField":"execute","page":"/cloudswarm-studio/"},{"name":"apply_security_hardening","kind":"act","impl":"imperative","description":"Applies automated remediation patches to resolve security findings.","inputSchema":{"type":"object","properties":{}},"hasHandler":true,"hasExecute":true,"__source":"spec","executable":true,"handlerField":"execute","page":"/cloudswarm-studio/"},{"name":"get_compliance_scorecard","kind":"answer","impl":"imperative","description":"Evaluates current topology against CIS Foundations Benchmark, PCI-DSS v3.2.1, and SOC2 Type II compliance frameworks.","inputSchema":{"type":"object","properties":{}},"hasHandler":true,"hasExecute":true,"__source":"spec","executable":true,"handlerField":"execute","page":"/cloudswarm-studio/"},{"name":"query_resource_pricing","kind":"answer","impl":"imperative","description":"Queries live rate cards for a specific cloud resource type.","inputSchema":{"type":"object","properties":{}},"hasHandler":true,"hasExecute":true,"__source":"spec","executable":true,"handlerField":"execute","page":"/cloudswarm-studio/"},{"name":"calculate_topology_cost","kind":"act","impl":"imperative","description":"Calculates aggregate monthly run-rate ($/mo) for current topology.","inputSchema":{"type":"object","properties":{}},"hasHandler":true,"hasExecute":true,"__source":"spec","executable":true,"handlerField":"execute","page":"/cloudswarm-studio/"},{"name":"optimize_cost_allocation","kind":"act","impl":"imperative","description":"Applies FinOps rightsizing optimizations across the cluster.","inputSchema":{"type":"object","properties":{}},"hasHandler":true,"hasExecute":true,"__source":"spec","executable":true,"handlerField":"execute","page":"/cloudswarm-studio/"},{"name":"get_finops_breakdown","kind":"answer","impl":"imperative","description":"Returns an executive FinOps cost breakdown grouped by cloud provider and architectural layer.","inputSchema":{"type":"object","properties":{}},"hasHandler":true,"hasExecute":true,"__source":"spec","executable":true,"handlerField":"execute","page":"/cloudswarm-studio/"},{"name":"trigger_chaos_gorilla","kind":"act","impl":"imperative","description":"Simulates a multi-AZ outage or node failure to test self-healing.","inputSchema":{"type":"object","properties":{}},"hasHandler":true,"hasExecute":true,"__source":"spec","executable":true,"handlerField":"execute","page":"/cloudswarm-studio/"},{"name":"trigger_threat_attack","kind":"act","impl":"imperative","description":"Simulates an adversary attack to test Zero-Trust intrusion defense.","inputSchema":{"type":"object","properties":{}},"hasHandler":true,"hasExecute":true,"__source":"spec","executable":true,"handlerField":"execute","page":"/cloudswarm-studio/"},{"name":"trigger_self_healing","kind":"act","impl":"imperative","description":"Dispatches autonomous multi-agent swarm remediation to isolate compromised resources and repair downed AZ instances.","inputSchema":{"type":"object","properties":{}},"hasHandler":true,"hasExecute":true,"__source":"spec","executable":true,"handlerField":"execute","page":"/cloudswarm-studio/"},{"name":"get_active_incidents","kind":"answer","impl":"imperative","description":"Returns the list of active simulated infrastructure outages, chaos incidents, and Red-Team threat attacks.","inputSchema":{"type":"object","properties":{}},"hasHandler":true,"hasExecute":true,"__source":"spec","executable":true,"handlerField":"execute","page":"/cloudswarm-studio/"},{"name":"orchestrate_cloud_topology","kind":"act","impl":"imperative","description":"Orchestrates a complete multi-tier, multi-cloud infrastructure topology on the canvas across AWS, Azure, or GCP with automated network partitioning, security isolation, and routing.","inputSchema":{"type":"object","properties":{"architecture_name":{"type":"string","description":"Human-readable name for the architecture (e.g. 'Production-MultiCloud-Mesh')."},"prompt":{"type":"string","description":"Natural language description of the cloud architecture to automatically synthesize (e.g. 'Deploy high-availability AWS retail cluster with Aurora Postgres and S3')."},"provider":{"type":"string","enum":["aws","azure","google"],"default":"aws","description":"Primary cloud provider for the architecture topology."},"region":{"type":"string","default":"us-east-1","description":"Target Cloud Region (e.g., us-east-1, eastus, us-central1)."},"vpc":{"type":"object","properties":{"cidr_block":{"type":"string","default":"10.0.0.0/16"},"enable_dns_hostnames":{"type":"boolean","default":true},"enable_dns_support":{"type":"boolean","default":true}}},"network":{"type":"object","properties":{"cidr_block":{"type":"string","default":"10.0.0.0/16"},"address_space":{"type":"array","items":{"type":"string"}},"network_name":{"type":"string"}}},"resources":{"type":"array","description":"List of cloud infrastructure nodes to instantiate across AWS, Azure, or GCP."},"connections":{"type":"array","description":"Directed edges representing traffic flow, service attachments, or IAM bindings."}}},"hasExecute":true,"__source":"polyfill","executable":true,"handlerField":"execute","page":"/cloudswarm-studio/"},{"name":"create_resource_node","kind":"act","impl":"imperative","description":"Creates a single multi-cloud infrastructure resource node on the canvas (108 primitives across AWS, Azure, GCP).","inputSchema":{"type":"object","required":["id","type","name"],"properties":{"id":{"type":"string","description":"Unique node ID (e.g., 'rds-prod-postgres', 'azure-aks-cluster', 'gcp-cloudsql-node')."},"type":{"type":"string","enum":["aws_instance","aws_instance_compute","aws_instance_gpu","aws_eks_cluster","aws_ecs_cluster","aws_lambda_function","aws_apprunner_service","aws_batch_compute_environment","azurerm_linux_virtual_machine","azurerm_windows_virtual_machine","azurerm_virtual_machine_gpu","azurerm_kubernetes_cluster","azurerm_container_group","azurerm_linux_function_app","azurerm_app_service","azurerm_spring_cloud_service","google_compute_instance","google_compute_instance_optimized","google_compute_instance_gpu","google_container_cluster","google_cloud_run_service","google_cloudfunctions_function","google_app_engine_standard_app_version","google_compute_instance_group_manager","aws_s3_bucket","aws_ebs_volume","aws_efs_file_system","aws_glacier_vault","aws_fsx_lustre_file_system","aws_backup_vault","azurerm_storage_account","azurerm_storage_container","azurerm_managed_disk","azurerm_storage_share","azurerm_data_lake_storage_gen2","azurerm_backup_vault","google_storage_bucket","google_compute_disk","google_filestore_instance","google_storage_bucket_archive","google_compute_region_disk","google_backup_dr_management_server","aws_db_instance","aws_rds_cluster","aws_dynamodb_table","aws_elasticache_cluster","aws_redshift_cluster","aws_neptune_cluster","aws_opensearch_domain","azurerm_mssql_database","azurerm_postgresql_flexible_server","azurerm_cosmosdb_account","azurerm_redis_cache","azurerm_synapse_workspace","azurerm_kusto_cluster","azurerm_mariadb_server","google_sql_database_instance","google_spanner_instance","google_firestore_database","google_bigtable_instance","google_redis_instance","google_bigquery_dataset","google_alloydb_cluster","aws_vpc","aws_subnet","aws_lb","aws_nat_gateway","aws_internet_gateway","aws_ec2_transit_gateway","aws_cloudfront_distribution","azurerm_virtual_network","azurerm_subnet","azurerm_lb","azurerm_application_gateway","azurerm_nat_gateway","azurerm_virtual_wan","azurerm_cdn_profile","google_compute_network","google_compute_subnetwork","google_compute_global_forwarding_rule","google_compute_router_nat","google_compute_vpn_gateway","google_compute_network_peering","google_compute_backend_service","aws_security_group","aws_iam_role","aws_kms_key","aws_wafv2_web_acl","aws_secretsmanager_secret","azurerm_network_security_group","azurerm_role_definition","azurerm_key_vault","azurerm_web_application_firewall_policy","azurerm_security_center_subscription_pricing","google_compute_firewall","google_service_account","google_kms_crypto_key","google_compute_security_policy","google_secret_manager_secret","aws_sagemaker_endpoint","aws_sagemaker_notebook_instance","aws_emr_cluster","azurerm_machine_learning_workspace","azurerm_cognitive_account","azurerm_databricks_workspace","google_vertex_ai_endpoint","google_notebooks_instance","google_dataproc_cluster"],"description":"Multi-Cloud Primitive Type (108 distinct primitives supported across AWS, Azure, and GCP)."},"name":{"type":"string","description":"Human-readable node label."},"parent_id":{"type":"string","description":"Parent container node ID (e.g. VPC/VNet)."},"config":{"type":"object","description":"Resource specific configuration parameters."},"position":{"type":"object","properties":{"x":{"type":"number"},"y":{"type":"number"}}}}},"hasExecute":true,"__source":"polyfill","executable":true,"handlerField":"execute","page":"/cloudswarm-studio/"},{"name":"update_resource_node","kind":"act","impl":"imperative","description":"Modifies configuration properties of an existing multi-cloud resource node.","inputSchema":{"type":"object","required":["node_id"],"properties":{"node_id":{"type":"string","description":"ID of the node to update."},"name":{"type":"string","description":"Updated display name for the node."},"parentId":{"type":"string","description":"Parent container node ID (e.g. VPC or Subnet)."},"position":{"type":"object","properties":{"x":{"type":"number"},"y":{"type":"number"}},"description":"Updated spatial position coordinates on canvas."},"config_patch":{"type":"object","description":"Partial configuration fields to update."}}},"hasExecute":true,"__source":"polyfill","executable":true,"handlerField":"execute","page":"/cloudswarm-studio/"},{"name":"update_node_config","kind":"act","impl":"imperative","description":"Modifies configuration properties of an existing multi-cloud resource node.","inputSchema":{"type":"object","required":["node_id"],"properties":{"node_id":{"type":"string","description":"ID of the node to update."},"name":{"type":"string","description":"Updated display name for the node."},"parentId":{"type":"string","description":"Parent container node ID (e.g. VPC or Subnet)."},"position":{"type":"object","properties":{"x":{"type":"number"},"y":{"type":"number"}},"description":"Updated spatial position coordinates on canvas."},"config_patch":{"type":"object","description":"Partial configuration fields to update."}}},"hasExecute":true,"__source":"polyfill","executable":true,"handlerField":"execute","page":"/cloudswarm-studio/"},{"name":"connect_resources","kind":"act","impl":"imperative","description":"Establishes a directed connection edge between two cloud resources (network flows, IAM attachments, data storage pipes, or peering).","inputSchema":{"type":"object","required":["source_id","target_id"],"properties":{"source_id":{"type":"string","description":"Source resource node ID."},"target_id":{"type":"string","description":"Target resource node ID."},"relation_type":{"type":"string","description":"Type of architectural relationship between the nodes."},"edge_type":{"type":"string","description":"Alias for relation_type."},"port":{"type":"integer","minimum":1,"maximum":65535,"description":"Optional network communication port."},"protocol":{"type":"string","enum":["tcp","udp","http","https","all"],"description":"Optional protocol."}}},"hasExecute":true,"__source":"polyfill","executable":true,"handlerField":"execute","page":"/cloudswarm-studio/"},{"name":"remove_resource_node","kind":"act","impl":"imperative","description":"Deletes a resource node from the canvas with optional cascade deletion of child nodes and associated edges.","inputSchema":{"type":"object","required":["node_id"],"properties":{"node_id":{"type":"string","description":"ID of the node to remove."},"cascade":{"type":"boolean","default":true,"description":"Whether to recursively delete child nodes."}}},"hasExecute":true,"__source":"polyfill","executable":true,"handlerField":"execute","page":"/cloudswarm-studio/"},{"name":"get_canvas_state","kind":"answer","impl":"imperative","description":"Returns the current state of the cloud architecture canvas, including all nodes (resources), edges (connections), and their configurations. Use this FIRST to understand what the human has already built before making changes.","inputSchema":{"type":"object","properties":{"include_configs":{"type":"boolean","default":true,"description":"Whether to include full resource configurations in the response."},"filter_provider":{"type":"string","enum":["aws","azure","google","all"],"default":"all","description":"Filter nodes by cloud provider."}}},"hasExecute":true,"__source":"polyfill","executable":true,"handlerField":"execute","page":"/cloudswarm-studio/"},{"name":"clear_canvas","kind":"act","impl":"imperative","description":"Clears all nodes and edges from the canvas, resetting it to an empty, clean state.","inputSchema":{"type":"object","properties":{}},"hasExecute":true,"__source":"polyfill","executable":true,"handlerField":"execute","page":"/cloudswarm-studio/"},{"name":"canvas_clear","kind":"act","impl":"imperative","description":"Clears all nodes and edges from the canvas, resetting it to an empty, clean state.","inputSchema":{"type":"object","properties":{}},"hasExecute":true,"__source":"polyfill","executable":true,"handlerField":"execute","page":"/cloudswarm-studio/"},{"name":"inspect_distributed_locks","kind":"answer","impl":"imperative","description":"Inspects active multi-agent distributed resource locks (StripedLockManager) to verify concurrency and mutual exclusion across canvas nodes.","inputSchema":{"type":"object","properties":{}},"hasExecute":true,"__source":"polyfill","executable":true,"handlerField":"execute","page":"/cloudswarm-studio/"},{"name":"audit_iam_zero_trust","kind":"act","impl":"imperative","description":"Performs a deep Zero-Trust security and IAM least-privilege audit across all multi-cloud topology nodes (AWS, Azure, GCP), checking for wildcard permissions, unencrypted storage, open ingress, and missing IMDSv2.","inputSchema":{"type":"object","properties":{"severity_threshold":{"type":"string","enum":["LOW","MEDIUM","HIGH","CRITICAL"],"default":"LOW","description":"Minimum finding severity level to include in the report."},"target_node_ids":{"type":"array","items":{"type":"string"},"description":"Optional list of node IDs to restrict audit scope."}}},"hasExecute":true,"__source":"polyfill","executable":true,"handlerField":"execute","page":"/cloudswarm-studio/"},{"name":"generate_least_privilege_policy","kind":"answer","impl":"imperative","description":"Generates a strict least-privilege IAM Policy (AWS), Azure RBAC Role Definition, or GCP IAM binding document JSON with zero wildcards and mandatory condition keys.","inputSchema":{"type":"object","required":["workload_type","resource_arn"],"properties":{"provider":{"type":"string","enum":["aws","azure","google"],"default":"aws","description":"Target cloud provider for the policy synthesis."},"workload_type":{"type":"string","enum":["s3_read_write","s3_read_only","dynamodb_crud","sqs_producer_consumer","secrets_manager_read","kms_decrypt","blob_storage_rw","cosmos_db_crud","gcs_object_rw","cloud_sql_client"],"description":"Standard workload profile archetype."},"resource_arn":{"type":"string","description":"Target Resource Identifier/ARN (e.g., 'arn:aws:s3:::company-app-data-prod/*', '/subscriptions/...', '//storage.googleapis.com/...')."},"allowed_operations":{"type":"array","items":{"type":"string"},"description":"Explicit actions allowed (e.g. ['s3:GetObject', 's3:PutObject'])."},"enforce_mfa":{"type":"boolean","default":false,"description":"Enforce MFA presence in condition block."},"enforce_tls_version":{"type":"string","enum":["1.2","1.3"],"default":"1.2","description":"Enforce minimum TLS transport version."}}},"hasExecute":true,"__source":"polyfill","executable":true,"handlerField":"execute","page":"/cloudswarm-studio/"},{"name":"apply_security_hardening","kind":"act","impl":"imperative","description":"Applies automated Zero-Trust security patches across multi-cloud topology nodes (AWS, Azure, GCP), replacing open security groups, enforcing IMDSv2, enabling KMS encryption, and locking storage buckets.","inputSchema":{"type":"object","properties":{"target_node_ids":{"type":"array","items":{"type":"string"},"description":"Optional list of target nodes to harden."},"auto_enforce_kms":{"type":"boolean","default":true,"description":"Automatically enable KMS encryption on storage and databases."},"auto_enforce_imdsv2":{"type":"boolean","default":true,"description":"Mandate IMDSv2 token authentication."},"auto_close_public_db":{"type":"boolean","default":true,"description":"Disable public accessibility on databases."},"auto_block_s3_public":{"type":"boolean","default":true,"description":"Block all public S3/Blob access."}}},"hasExecute":true,"__source":"polyfill","executable":true,"handlerField":"execute","page":"/cloudswarm-studio/"},{"name":"query_resource_pricing","kind":"answer","impl":"imperative","description":"Calculates real-time monthly and hourly cost breakdown for any of the 108 cloud primitives across AWS, Azure, and GCP.","inputSchema":{"type":"object","required":["resource_type","config"],"properties":{"resource_type":{"type":"string","description":"Multi-Cloud Primitive Type (AWS, Azure, or GCP)."},"region":{"type":"string","default":"us-east-1","description":"Target deployment region."},"config":{"type":"object","description":"Resource specific sizing configuration."}}},"hasExecute":true,"__source":"polyfill","executable":true,"handlerField":"execute","page":"/cloudswarm-studio/"},{"name":"calculate_topology_cost","kind":"act","impl":"imperative","description":"Calculates complete real-time aggregated monthly and hourly infrastructure cost across all nodes in the canvas DAG across AWS, Azure, and GCP.","inputSchema":{"type":"object","properties":{"currency":{"type":"string","enum":["USD","EUR","GBP"],"default":"USD"},"include_recommendations":{"type":"boolean","default":true}}},"hasExecute":true,"__source":"polyfill","executable":true,"handlerField":"execute","page":"/cloudswarm-studio/"},{"name":"optimize_cost_allocation","kind":"act","impl":"imperative","description":"Analyzes the topology for multi-cloud FinOps optimization opportunities (e.g. Graviton ARM64 conversions, Spot instances, Azure/GCP rightsizing, storage tiering).","inputSchema":{"type":"object","properties":{"strategy":{"type":"string","enum":["AGGRESSIVE","BALANCED","CONSERVATIVE"],"default":"BALANCED"}}},"hasExecute":true,"__source":"polyfill","executable":true,"handlerField":"execute","page":"/cloudswarm-studio/"},{"name":"get_finops_breakdown","kind":"answer","impl":"imperative","description":"Returns an executive FinOps cost breakdown grouped by cloud provider (AWS vs Azure vs GCP) and architectural layer (Compute, Storage, Database, Network).","inputSchema":{"type":"object","properties":{}},"hasExecute":true,"__source":"polyfill","executable":true,"handlerField":"execute","page":"/cloudswarm-studio/"},{"name":"trigger_chaos_gorilla","kind":"act","impl":"imperative","description":"Simulates a massive Multi-AZ (Availability Zone) infrastructure outage to test the self-healing and resilience of the architecture.","inputSchema":{"type":"object","properties":{"scenario_id":{"type":"string","description":"Optional ID of the chaos scenario to trigger."}}},"hasExecute":true,"__source":"polyfill","executable":true,"handlerField":"execute","page":"/cloudswarm-studio/"},{"name":"trigger_threat_attack","kind":"act","impl":"imperative","description":"Simulates an aggressive Red-Team security attack against the architecture to test the zero-trust shield.","inputSchema":{"type":"object","properties":{"threat_id":{"type":"string","description":"Optional ID of the threat to trigger."}}},"hasExecute":true,"__source":"polyfill","executable":true,"handlerField":"execute","page":"/cloudswarm-studio/"},{"name":"trigger_self_healing","kind":"act","impl":"imperative","description":"Dispatches autonomous multi-agent swarm remediation to automatically isolate compromised resources, repair downed AZ instances, and enforce least-privilege policies.","inputSchema":{"type":"object","properties":{"incident_id":{"type":"string","description":"Optional specific incident identifier to resolve."}}},"hasExecute":true,"__source":"polyfill","executable":true,"handlerField":"execute","page":"/cloudswarm-studio/"},{"name":"list_catalog_primitives","kind":"answer","impl":"imperative","description":"Queries the multi-cloud CAD catalog of 108 distinct cloud primitives across AWS, Azure, and GCP with filtering by provider, category, or search term.","inputSchema":{"type":"object","properties":{"provider":{"type":"string","enum":["aws","azure","google","all"],"default":"all","description":"Filter primitives by cloud provider."},"category":{"type":"string","enum":["compute","storage","database","network","security","ai","all"],"default":"all","description":"Filter primitives by architectural layer/category."},"search":{"type":"string","description":"Optional keyword search term (e.g. \"kubernetes\", \"gpu\", \"postgres\")."}}},"hasExecute":true,"__source":"polyfill","executable":true,"handlerField":"execute","page":"/cloudswarm-studio/"},{"name":"get_primitive_schema","kind":"answer","impl":"imperative","description":"Returns granular configuration schema, default settings, and pricing metrics for a specific cloud primitive type.","inputSchema":{"type":"object","required":["resource_type"],"properties":{"resource_type":{"type":"string","description":"The exact cloud primitive type (e.g. \"aws_instance\", \"azurerm_kubernetes_cluster\", \"google_sql_database_instance\")."}}},"hasExecute":true,"__source":"polyfill","executable":true,"handlerField":"execute","page":"/cloudswarm-studio/"},{"name":"time_travel_to_step","kind":"act","impl":"imperative","description":"Rewinds or fast-forwards the canvas topology to any historical commit step in the Decision DAG timeline.","inputSchema":{"type":"object","required":["step_index"],"properties":{"step_index":{"type":"number","description":"Zero-based index of the target historical step in the Decision DAG."}}},"hasExecute":true,"__source":"polyfill","executable":true,"handlerField":"execute","page":"/cloudswarm-studio/"},{"name":"fork_architecture_branch","kind":"act","impl":"imperative","description":"Creates an isolated experimental architecture branch (e.g. \"disaster-recovery-plan\", \"arm64-graviton-migration\") to test topology alternatives without altering main.","inputSchema":{"type":"object","required":["branch_name"],"properties":{"branch_name":{"type":"string","description":"Name of the new branch (e.g. \"dr-eu-central\", \"serverless-redesign\")."},"from_commit_id":{"type":"string","description":"Optional commit ID to fork from. Defaults to active commit head."}}},"hasExecute":true,"__source":"polyfill","executable":true,"handlerField":"execute","page":"/cloudswarm-studio/"},{"name":"switch_architecture_branch","kind":"act","impl":"imperative","description":"Switches the active visual canvas between branches (e.g. switching between \"main\" and \"dr-site\").","inputSchema":{"type":"object","required":["branch_name"],"properties":{"branch_name":{"type":"string","description":"Name of the branch to switch to."}}},"hasExecute":true,"__source":"polyfill","executable":true,"handlerField":"execute","page":"/cloudswarm-studio/"},{"name":"compare_architecture_branches","kind":"act","impl":"imperative","description":"Computes deep structural, cost, and security diffs between two branches or commits in the Decision DAG.","inputSchema":{"type":"object","required":["commit_a","commit_b"],"properties":{"commit_a":{"type":"string","description":"Commit ID or branch name for comparison base."},"commit_b":{"type":"string","description":"Commit ID or branch name for comparison target."}}},"hasExecute":true,"__source":"polyfill","executable":true,"handlerField":"execute","page":"/cloudswarm-studio/"},{"name":"get_dag_history","kind":"answer","impl":"imperative","description":"Returns the complete Decision DAG commit timeline, active branch, and all historical state commits.","inputSchema":{"type":"object","properties":{"branch":{"type":"string","description":"Optional branch name filter."}}},"hasExecute":true,"__source":"polyfill","executable":true,"handlerField":"execute","page":"/cloudswarm-studio/"},{"name":"export_terraform_hcl","kind":"act","impl":"imperative","description":"Compiles the current visual canvas architecture into production-ready, syntax-valid HashiCorp Terraform / OpenTofu HCL2 code.","inputSchema":{"type":"object","properties":{"format":{"type":"string","enum":["hcl","json"],"default":"hcl","description":"Output format: \"hcl\" for standard Terraform code, or \"json\" for Terraform JSON."}}},"hasExecute":true,"__source":"polyfill","executable":true,"handlerField":"execute","page":"/cloudswarm-studio/"},{"name":"import_terraform_hcl","kind":"act","impl":"imperative","description":"Parses raw Terraform HCL2 code and materializes it into interactive cloud resource nodes and directed edges on the canvas.","inputSchema":{"type":"object","required":["hcl_code"],"properties":{"hcl_code":{"type":"string","description":"Raw Terraform / OpenTofu HCL2 code containing resource blocks (e.g. resource \"aws_vpc\" \"main\" { ... })."}}},"hasExecute":true,"__source":"polyfill","executable":true,"handlerField":"execute","page":"/cloudswarm-studio/"}],"category":"Developer Tools","favicon":"/favicons/samar0-star.github.io.svg","apiSurface":"mixed","toolCount":61}}