Set agent session-start hook
Set or replace the agent's session-start hook on the Custom MCP integration named by app. The hook tool is invoked server-side at session start and hidden from the model. Returns 404 when the agent is not found / unsupported, or when the agent has no Custom MCP integration with the given app.
put/v1/agents/{id}/session-start-hook
Request
- Base URLhttps://api.runbear.io
- AuthHTTP bearer
Path parameters
idstring uuid required
Agent ID
Request body
Response
Default Response
Changes
No recorded changes to this operation across all 1 revision of this API.