ensure_project
Create a project for a repository path and get its id, slug and human key. Repeating the same path returns the existing project, enabling other tools that fail until it exists.
Instructions
Create a project without registering an agent, returning id, slug, human_key and created_at. Repeating the same repository path returns the existing project. Other tools fail with NOT_FOUND until it exists; register_agent and macro_start_session create it themselves.
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": {
"human_key": "<human_key>"
},
"name": "ensure_project"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| human_key | Yes | Absolute path of the repository's primary checkout. |