project_select
WriteChoose the project (by slug) that project tools act on.
POST
/api/agent/selectBehavior
Choose the project (by slug) that project tools act on. The choice is remembered on the server for this key, so it holds across sessions and clients.
Input parameters
projectRequiredstring- Min. length: 3
- Max. length: 40
The descriptions above include conditional requirements. The full schema below shows structural validation; runtime checks also apply.
JSON Schema
Input schema · draft-7
{
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"properties": {
"project": {
"type": "string",
"minLength": 3,
"maxLength": 40
}
},
"required": [
"project"
],
"additionalProperties": false
}Calling this tool
Use its name in your connected MCP client. For the HTTP API, the route is relative to your Convex site URL and requires your agent key as a bearer token. Keep the key on the agent side, outside a game build.