resource.added
⚠️
Preview — this feature is being built; the design below is the spec.
Received on the stream and in the event list. A file, repository or memory store was mounted into the session.
Example
id: evt_01JC7M3B
data: {"type": "resource.added", "resource_id": "sres_01JCB2E4G6J8L0N2Q4S6", "kind": "git_repository", "mount_path": "/workspace/repo", "status": "mounted"}Fields
| Field | Meaning |
|---|---|
mount_path | Where the agent can find it. |
Handling
The agent is told about the new path in its next turn; you do not need to mention it in a message.
Was this page helpful?