wrap
Import a file or directory into the swarm reference system, making it accessible for parallel agent workflows and combinators.
Instructions
Wrap a file or directory into the swarm ref system.
This is how you bring external objects INTO the monadic context. The wrapped file gets a ref that can be passed to any combinator.
Args: path: Absolute path to a file or directory on the host.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"path": "<path>"
},
"name": "wrap"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |