Files
next-ai-draw-io/docs/shape-libraries/alibaba_cloud.md
Dayuan Jiang f087b54ee4 feat: add get_shape_library tool for AI icon discovery (#335)
* feat: add get_shape_library tool for AI icon discovery

- Add server-side tool that returns shape library documentation
- AI can fetch icon/shape names on-demand before generating diagrams
- Includes path traversal protection and input sanitization
- Library index embedded in tool description for discoverability
- Supports 33 libraries: AWS, Azure, GCP, Kubernetes, Cisco, etc.

* fix: improve get_shape_library error handling and imports

- Move fs/path imports to top of file (avoid dynamic imports per call)
- Distinguish file-not-found vs other errors in catch block
- Include invalid input in validation error message
- Log unexpected errors for debugging

* docs: add get_shape_library to system prompt tool list

- Add Tool4 (get_shape_library) to available tools section
- Add usage guidance in 'Choose the right tool' section
- Update AWS icons note to reference get_shape_library for icon discovery

* fix: display get_shape_library tool output in chat UI

* fix: correct state check for get_shape_library output display

* fix: make get_shape_library output respect fold state

* style: auto-format with Biome

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-12-20 23:19:49 +09:00

7.8 KiB

alibaba_cloud

Type: mxgraph shapes Prefix: mxgraph.alibaba_cloud

Usage

<mxCell value="label" style="shape=mxgraph.alibaba_cloud.{shape};fillColor=#FF6A00;strokeColor=none;" vertex="1" parent="1">
  <mxGeometry x="0" y="0" width="60" height="60" as="geometry" />
</mxCell>

Shapes (311)

  • abap_business_application_platform
  • acms_application_configuration_manangement
  • acr_cloud_container_registry
  • actiontrail
  • adam_advanced_database_and_application_migration
  • adb_analyticdb_for_mysql
  • address_purification
  • afs_fraud_service
  • agw_aligateway
  • ahas_application_high_availability_service
  • airec_artificial_intelligence_recommendation
  • alb_application_load_balancer_01
  • alb_application_load_balancer_02
  • alibaba_cloud_logo
  • alibaba_cloud_logo_chinese
  • alibaba_cloud_logo_english
  • alimail
  • alimt_machine_translation
  • aliyun_linux
  • amqp_advanced_message_queuing_protocol
  • amscloudapp
  • analyticdb_for_postgresql
  • antibot
  • apigateway
  • apsara_file_storage_for_hdfs
  • apsaravideo_vod
  • arms_application_real-time_monitoring_service
  • ask_ack_container_service_for_kubernetes
  • asm_service_mesh
  • assettech
  • avds_vulnerability_db_scanning
  • baas_blockchain_as_a_service
  • bandwidth_bag
  • bastionhost
  • batchcompute
  • bccluster
  • beebot
  • beian
  • bizdevops
  • bizworks
  • bpstudio
  • cas_ssl_central_authentication_service
  • cassandra_wide-column_database_01
  • cassandra_wide-column_database_02
  • ccc_cloud_call_center
  • ccn_cloud_connect_network
  • ccs_customer_service_01
  • ccs_customer_service_02
  • cddc_cloud_database_dedicated_cluster
  • cdn_content_distribution_network
  • cdp_cloudera_cdp
  • cdt_cloud_datatransfer
  • cen_cloud_enterprise_network
  • cfw_cloud_firewall
  • cityvisual
  • clb_classic_load_balancer_01
  • clb_classic_load_balancer_02
  • clickhouse
  • cloud_auth
  • cloud_config
  • cloud_display
  • cloud_governance_center
  • cloud_security_center
  • cloud_shield
  • cloudap
  • cloudbox
  • clouddesktop
  • clouddev
  • cloudphoto
  • cloudproc
  • cloudshell
  • cmn_cloud_managed_network
  • cmp_cloud_mobile_push
  • cms_cloud_monitor_service
  • codepipeline
  • codestore
  • companyreg
  • computenest
  • content_security
  • coo
  • cpns_cell_phone_number_service
  • csas_cloud_security_access_service
  • cvc_cloud_video_conferencing
  • cwh_cloud_web_hosting
  • das_database_autonomy_service
  • databot
  • datahub
  • dataphin
  • dataquotient
  • datav
  • dataworks_dataide
  • dbaudit
  • dbes_database_expert_service
  • dbfs_database_file_system
  • dbs_database_backup
  • dcdn_dynamic_route_for_cdn
  • ddh_dedicated_host
  • ddos-bgp
  • ddos-dip
  • ddos-pro
  • ddos_protection
  • devops
  • dg_database_gateway
  • directmail
  • disk_block_storage
  • dlf_data_lake_formation
  • dms_data_management_service
  • dns_domain_name_system
  • dns_privatezone_01
  • dns_privatezone_02
  • domain
  • domain_and_website
  • drds_distribute_relational_database_service
  • dsi_data_security_insurance
  • dts_data_transmission_service
  • e-mapreduce
  • eais_elastic_accelerated_computing_instances
  • eci_elastic_container_instance
  • ecs_elastic_compute_service
  • edas_enterprise_distributed_application_service
  • ehpc_elastic_high_performance_computing
  • eip_elastic_ip_address
  • elastic_web_hosting
  • elasticsearch
  • emas_enterprise_mobile_application_studio
  • energyexpert
  • ens_edge_node_service
  • enterprise_website
  • eprofile
  • esign
  • ess_elastic_scaling_service
  • eventbridge
  • express_connect
  • face_recognition
  • fc_function_compute
  • flow_service
  • flowbag
  • fnf_serverless_function_flow
  • fpga_field_programmable_gate_array
  • fraud_detection
  • ga_global_accelerator
  • gameshield
  • gdb_graph_database
  • graphanalytics
  • graphcompute
  • gtm_global_traffic_manager
  • gts_global_transaction_service
  • gws_graphic_workstation
  • havip_high-availability_virtual_ip_address
  • hbase
  • hbr_hybrid_backup_recovery
  • hcs-hgw_hybrid_cloud_storage_array
  • hcs-mgw_hybrid_cloud_storage_datatransport
  • hcs-sgw_hybrid_cloud_storage_gateway
  • hdr_hybrid_disaster_recovery
  • hologres
  • holowatcher
  • hsm_hardware_security_module
  • httpdns
  • idrsservice
  • image_recognition
  • imagesearch
  • imarketing
  • imm_intelligent_media_management
  • imp_intelligent_media_production
  • imp_low_code_video_factory
  • indvi_industrial_visual_intelligence
  • intelligent_advisor
  • iot_internet_of_things_platform
  • iot_wireless_connection_service
  • iotid_identity
  • iov_iot_vehicle_cloud
  • ipv6_gateway
  • isoc_iot_security_operations_center
  • isu_intelligent_semantic_understanding
  • ivision
  • ivpd_intelligent_visual_production
  • kafka
  • linkedmall
  • linkwan
  • live
  • livinglink
  • log_streaming
  • logic_composer
  • machine_learning
  • man_mobile_analytics
  • mariadb
  • mas_mobile_acceleration_service
  • maxcompute
  • memcache
  • miniappdev
  • mns_message_service
  • mobile_hotfix
  • mobsec
  • mongodb
  • mps-ai
  • mps-censor
  • mps-cover
  • mps-dna
  • mps-multimod
  • mps-produce
  • mps_apsaravideo_media_processing
  • mq_message_queue
  • mqc_mobile_quality_center
  • mse_microservices_engine
  • multi-cloud_finops
  • multi-mode_database_lindorm
  • multimediaai
  • mxgraph.alibaba_cloud
  • mysql
  • nas_network_attached_storage
  • nat_gateway
  • network_acl_access_control_list
  • nlb_network_load_balancer_01
  • nlb_network_load_balancer_02
  • nlp-address
  • nlp-automl
  • nlp-ie_text_information_extraction
  • nlp-ke_keyword_extraction
  • nlp-ner_named_entity_recognition
  • nlp-pos_part-of-speech_tagging
  • nlp-ra_reflexive_anaphora
  • nlp-sa_sentiment_analysis
  • nlp-tc_text_categorization
  • nlp-ws_word_segmentation
  • nlp_natural_language_processing
  • nls
  • nls-asrbag
  • nls-asrcustommodel
  • nls-filebag
  • nls-service
  • nls-shortasrbag
  • nls-ttsbag
  • nodejs_performance_platform
  • oceanbase
  • ocr_optical_character_recognition
  • onsmqtt_micro_message_queuing_telemetry_transport
  • oos_operation_orchestration_service
  • openanalytics
  • openapi_explorer
  • opensearch
  • oss_object_storage_service
  • ots_tablestore
  • outboundbot
  • pcdn_p2p_cdn
  • petadata_hybriddb_for_mysql
  • physical_connection
  • pnvs_phone_number_verification_service
  • polardb
  • porana_portrait_analysis
  • postgresql
  • ppas_pay-as-you-go_database
  • privatelink
  • prometheus
  • prophet
  • pts_performance_test_service
  • quickbi
  • ram_resource_access_management
  • re_recommendation_engine
  • realtime_compute
  • redis_kvstore
  • region
  • retailir
  • ros_resource_orchestration_service
  • route_table
  • router
  • rsimganalys
  • rtc_real-time_communication
  • sae_serverless_app_engine
  • sag_smart_access_gateway_01
  • sag_smart_access_gateway_02
  • sas_situational_awareness
  • sca_smart_conversation_analysis_01
  • sca_smart_conversation_analysis_02
  • scc_super_computing_cluster
  • scdn_secure_cdn
  • scu_storage_capacity_unit
  • sddp_sensitive_data_protection
  • shared_bandwidth
  • shared_flow_bag
  • shc_shield_hybrid_cloud
  • slb_server_load_balancer_01
  • slb_server_load_balancer_02
  • slb_server_load_balancer_03
  • sls_simple_log_service
  • smc_server_migration_center
  • sms_short_message_service
  • sos
  • spark_data_insights
  • sppc
  • sqlserver
  • swas_simple_application_server
  • tr_transit_router
  • trademark_service
  • uis_ultimate_internet_service
  • user
  • user_feedback_01
  • user_feedback_02
  • vbr_virtual_border_router
  • vcs_visual_computing_service
  • vms_voice_messaging_service
  • voicebot_intelligent_voice_navigation
  • vpc_virtual_private_cloud
  • vpn_gateway
  • vs_video_surveillance
  • vswitch
  • waf_web_application_firewall
  • webplus_web_app_service
  • xdragon_bare_metal_server
  • xtrace
  • yida