project_dir_link
Generates a single-use, 5-minute link for downloading and unpacking a project's .p9m Docker key folder, including the curl/tar command.
Instructions
A single-use link to the project's .p9m folder, with the sandbox's Docker keys
Answers a link that works once, for 5 minutes, and the command that unpacks it into the project (curl -sf "<url>" | tar -x -C "<project folder>"): the .p9m folder with .gitignore, p9m.env and docker/{ca,cert,key}.pem, the keys checked first. Run the command yourself; never copy a key. Then the docker context commands (a context keeps its own copies of the files: remove it and create it again after new keys or any TLS error, with a new link). An expired or used link answers 410: ask for a new one.
HTTP POST /sandboxes/{name}/project-link
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": {
"name": "<name>"
},
"name": "project_dir_link"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes |