MCPcopy Create free account

hub / github.com/aliyun/data-agent-skill / functions

Functions258 in github.com/aliyun/data-agent-skill

Functioncmd_db
Handle db subcommand.
scripts/cli/cmd_db.py:245
Functioncmd_dms
Handle dms subcommand for DMS tools.
scripts/cli/cmd_dms.py:13
Functioncmd_file
Handle file subcommand.
scripts/cli/cmd_file.py:30
Functioncmd_import
Handle import subcommand for adding DMS tables to Data Center.
scripts/cli/cmd_import.py:30
Functioncmd_ls
List DMS databases and (optionally) their tables.
scripts/cli/cmd_ls.py:49
Functioncmd_reports
Handle reports subcommand.
scripts/cli/cmd_reports.py:19
Functioncmd_workspace
List Data Agent workspaces.
scripts/cli/cmd_workspace.py:32
Methodconfig
Get the client configuration.
scripts/data_agent/client.py:1391
Methodconfig
Get the client configuration.
scripts/data_agent/client.py:1708
Methodcreate_or_reuse
Create a new session or reuse an existing one asynchronously. Args: session_id: Optional existing session ID to reuse.
scripts/data_agent/session.py:282
Methodcreate_session
Create a new Data Agent session asynchronously. Args: database_id: Optional database ID to bind to the session. title
scripts/data_agent/client.py:1428
Functiondb_query_executor
(message_handler, session, args)
scripts/cli/cmd_db.py:288
Functiondecorator
(func: Callable[..., T])
scripts/data_agent/client.py:86
Methoddelete_file
Delete an uploaded file. Args: file_id: The file ID to delete. client_token: Optional idempotency token, auto-generat
scripts/data_agent/client.py:1112
Methoddelete_file
Delete a file asynchronously. Args: file_id: The file ID to delete. client_token: Optional idempotency token.
scripts/data_agent/client.py:1610
Methoddelete_file
Delete an uploaded file asynchronously. Args: file_id: The file ID to delete. session_id: Optional session ID used to
scripts/data_agent/file_manager.py:535
Methoddescribe_custom_agent
Get detailed information about a custom agent asynchronously. Args: custom_agent_id: The custom agent ID. workspace_i
scripts/data_agent/client.py:1687
Methoddescribe_session
Get the status of a session asynchronously. Args: session_id: The session ID. agent_id: The agent ID (optional).
scripts/data_agent/client.py:1466
Methoddownload_file
Download a file by ID. Args: file_id: The file ID to download. save_path: Path to save the downloaded file.
scripts/data_agent/file_manager.py:246
Methoddownload_file
Download a file from URL asynchronously. Args: download_url: URL to download from. save_path: Path to save the downlo
scripts/data_agent/file_manager.py:500
Functionfile_query_executor
(message_handler, session, args)
scripts/cli/cmd_file.py:125
Methodfile_upload_callback
Notify file upload completion asynchronously. Args: file_id: The file ID from upload signature. filename: The origina
scripts/data_agent/client.py:1565
Methodfrom_dict
Create configuration from a dictionary. Args: config_dict: Dictionary containing configuration values. Returns:
scripts/data_agent/config.py:124
Methodget_chat_content
Get chat content from the Data Agent. Args: agent_id: The agent ID. session_id: The session ID. checkpoin
scripts/data_agent/client.py:865
Methodget_chat_content
Get chat content from the Data Agent asynchronously. Args: agent_id: The agent ID. session_id: The session ID.
scripts/data_agent/client.py:1522
Methodget_file_type
Get the file type from path. Args: file_path: Path to the file. Returns: File type string or None if unsuppo
scripts/data_agent/file_manager.py:307
Methodget_file_upload_signature
Get OSS upload signature asynchronously. Args: filename: Name of the file to upload. file_size: Size of the file in b
scripts/data_agent/client.py:1545
Methodget_full_response
Get complete response asynchronously. Collects all `data` events (excluding tool_call_choices and metric_agent_config), which carry t
scripts/data_agent/sse_client.py:786
Methodget_session
Get session info from cache. Args: session_id: The session ID. Returns: SessionInfo if found, None otherwise
scripts/data_agent/session.py:199
Methodget_session
Get session info from cache. Args: session_id: The session ID. Returns: SessionInfo if found, None otherwise
scripts/data_agent/session.py:405
Methodhas_next
Check if there are more pages.
scripts/data_agent/mcp_tools.py:88
Methodlist_custom_agents
List custom agents asynchronously. Args: workspace_id: Optional workspace ID to filter agents. search_key: Fuzzy sear
scripts/data_agent/client.py:1658
Methodlist_file_tables
List tables inside a DMS Data Center database (legacy file-based). Args: instance_name: The InstanceName returned by list_file_da
scripts/data_agent/client.py:1048
Methodlist_files
List files asynchronously. Args: session_id: The session ID. file_category: Optional filter, e.g. "WebReport" for age
scripts/data_agent/client.py:1594
Methodlist_instances
Async search for database instances in DMS. Args: search_key: Optional search key. db_type: Optional database
scripts/data_agent/mcp_tools.py:401
Methodlist_reports
List agent-generated reports (WebReport) for a session. Args: session_id: The session ID. Returns: List of F
scripts/data_agent/file_manager.py:204
Methodlist_sessions
List Data Agent sessions. For API_KEY authentication, uses startTime/endTime parameters. For AK/SK authentication, uses createStartTi
scripts/data_agent/client.py:1202
Methodlist_sessions
List all cached sessions. Returns: List of SessionInfo objects.
scripts/data_agent/session.py:238
Methodlist_sessions
List all cached sessions. Returns: List of SessionInfo objects.
scripts/data_agent/session.py:444
Methodlist_workspaces
List Data Agent workspaces asynchronously. Args: workspace_type: Workspace type filter ("MY" or "ALL"). workspace_nam
scripts/data_agent/client.py:1626
Functionpush_notification
Push a notification message to the specified session or active session. Args: session_id: The target session ID (optional). messa
scripts/cli/notify.py:66
Methodrefresh_session
Refresh session status from API. Args: session_id: The session ID. Returns: Updated SessionInfo. Ra
scripts/data_agent/session.py:210
Methodrefresh_session
Refresh session status from API asynchronously. Args: session_id: The session ID. Returns: Updated SessionIn
scripts/data_agent/session.py:416
Methodremove_session
Remove session from cache. Args: session_id: The session ID to remove.
scripts/data_agent/session.py:230
Methodremove_session
Remove session from cache. Args: session_id: The session ID to remove.
scripts/data_agent/session.py:436
Functionretry_on_error
Decorator to retry API calls on transient errors with exponential backoff.
scripts/data_agent/client.py:83
Functionrun_with_dual_logging
Run a subprocess and create both progress.log and progress.jsonl files.
scripts/cli/dual_logger.py:12
Methodsend_message
Send a message to the Data Agent asynchronously. Args: agent_id: The agent ID. session_id: The session ID.
scripts/data_agent/client.py:1484
Methodsend_query
Send a query and wait for complete response. Args: session: Active session to use. query: Natural language query.
scripts/data_agent/message.py:33
Methodsend_query
Send a query and wait for complete response asynchronously. Args: session: Active session to use. query: Natural lang
scripts/data_agent/message.py:286
Methodsend_query_with_result
Send a query and get detailed result with content blocks. Args: session: Active session to use. query: Natural langua
scripts/data_agent/message.py:83
Methodsend_query_with_result
Send a query and get detailed result asynchronously. Args: session: Active session to use. query: Natural language qu
scripts/data_agent/message.py:331
Methodstream_content
Send query and stream response content blocks. Args: session: Active session to use. query: Natural language query.
scripts/data_agent/message.py:151
Methodstream_content
Send query and stream response content blocks asynchronously. Args: session: Active session to use. query: Natural la
scripts/data_agent/message.py:397
Methodto_dict
Convert configuration to dictionary (excluding secrets). Returns: Dictionary with non-sensitive configuration values.
scripts/data_agent/config.py:150
Methodtotal_pages
Calculate total number of pages.
scripts/data_agent/mcp_tools.py:81
Methodupload_file
Upload a file for analysis asynchronously. Args: file_path: Path to the local file. timeout: Upload timeout in second
scripts/data_agent/file_manager.py:359
Functionwrapper
(self, *args, **kwargs)
scripts/data_agent/client.py:96
← previous201–258 of 258, ranked by callers