MCPcopy Create free account
hub / github.com/aliyun/data-agent-skill / delete_file

Method delete_file

scripts/data_agent/file_manager.py:535–555  ·  view source on GitHub ↗

Delete an uploaded file asynchronously. Args: file_id: The file ID to delete. session_id: Optional session ID used to verify the file exists before deleting. Returns: True if deletion was successful.

(self, file_id: str, session_id: Optional[str] = None)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 3

_normalize_file_idMethod · 0.95
delete_fileMethod · 0.45

Tested by

no test coverage detected