new_session
Create a new ACP session on an initialized agent. Provide agent ID, working directory, and optional MCP servers or permission policy to get a session ID back.
Instructions
Create a new ACP session on an initialized agent. Returns the agent's session ID.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| agentId | Yes | ID of the initialized agent | |
| cwd | Yes | Working directory for the session | |
| mcpServers | No | MCP servers to make available to the agent | |
| permissionPolicy | No | Permission policy: elicit, allow_all, deny_all, or operator |