agy_project_link
Bind a local discussion to one lasting project via an immutable link; optionally enable on-demand turns without starting loops or bypassing approvals.
Instructions
Explicitly link a local discussion to one lasting project. Binding is immutable and cannot cross another project. Default on_demand=true authorizes individually requested turns without a fixed lifetime round budget; it does not start any turn/loop or bypass client approvals, CLI limits or cancellation. Existing spent attempts remain usage records. on_demand=false retains that task's old budget. Save exact legacy snapshot before paging. Local client memory/plan updates are checkpointed into the project; model views retain actual provenance. Create a new normal discussion and link it to reuse the project across topics/sessions; archived discussions stay archived. No model call.
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": {
"project_id": "<project_id>",
"discussion_id": "<discussion_id>",
"expected_version": "<expected_version>",
"reason": "<reason>"
},
"name": "agy_project_link"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| reason | Yes | ||
| on_demand | No | ||
| project_id | Yes | ||
| discussion_id | Yes | ||
| expected_version | Yes |