Autolab Next
autolab_nextRetrieve the next role prompt and assembled context for an Autonomous Lab session, determining whether the AI acts as PI or Trainee so the review loop continues.
Instructions
Get the next role prompt for the Autonomous Lab session.
Reads the current state to determine whose turn it is (PI or Trainee), assembles context (idea, profiles, meeting history, file listings), and returns a detailed role prompt.
The AI should then follow the returned prompt exactly, acting as the specified role (PI or Trainee).
MANDATORY LOOP PROTOCOL — the lab NEVER stops:
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "autolab_next"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_directory | No | Project directory path | . |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |