stat
Get metadata of a file or directory on an endpoint, including name, type, size, last modified, permissions, user, and group.
Instructions
Get the status/metadata of a file or directory on an endpoint.
Args: endpoint_id: The UUID of the endpoint. path: Path to the file or directory.
Returns: Dict with metadata including 'name', 'type', 'size', 'last_modified', 'permissions', 'user', 'group'.
Examples: stat("endpoint-uuid", "/data/results.tar.gz") stat("endpoint-uuid", "/project/src")
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| endpoint_id | Yes | ||
| path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||