obit_mktemp
Creates and registers a temporary directory with an expiry period, using an absolute working directory to target its Git project or the system temp directory outside Git.
Instructions
Creates and registers a temporary directory with a lifespan. The explicit absolute cwd selects the Git project; outside Git the system temporary directory is used.
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": {
"cwd": "<cwd>",
"lifespan": "<lifespan>"
},
"name": "obit_mktemp"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cwd | Yes | Absolute Windows working directory used to find the Git project | |
| name | No | ||
| session | No | ||
| lifespan | Yes | Positive lifespan such as 2h or 3d |