Return metadata for a file or directory under scenarios/<world_name>/fs.
Scanned 6/6/2026
Install via CLI
openskills install bdambrosio/Cognitive_workbench---
name: fs-stat
type: python
description: "Return metadata for a file or directory under scenarios/<world_name>/fs."
schema_hint: {"path": "string (relative)"}
---
# fs-stat
Return metadata for a file or directory in the filesystem sandbox.
## Input
- `path`: Relative path under `scenarios/<world_name>/fs` (required)
## Output
Success returns:
- `resource_id`: Note ID containing text content.
- Note content format:
- metadata Note linked by meta Relation (file/directory metadata)
- body text with JSON-form metadata
## Examples
```json
{"type":"fs-stat","path":"data/config.json","out":"$stat"}
```
No comments yet. Be the first to comment!