initialize
Spawn an ACP agent process and perform the initial handshake to set up the agent for session creation. Call this first to establish communication with the agent.
Instructions
Spawn an ACP agent process and perform the initialize handshake. Must be called before creating sessions.
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": {
"agentId": "<agentId>"
},
"name": "initialize"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| agentId | Yes | ID of the installed agent to initialize | |
| protocolVersion | No | Protocol version to negotiate | |
| clientInfo | No | Calling client info | |
| clientCapabilities | No | Client capabilities | |
| env | No | Environment variable overrides. Merged on top of config/installed env. |