runtime for a hosted agent to call your endpoint, a calendar for it to book on a calendar connected to the project, or mcp for it to call a tool on an MCP server connected to the project. Header values are returned on read, so keep secrets out of them.
Calls
POST /v1/toolOptions
Makes this a calendar tool, which Roark runs against a connected calendar: it takes no runtime and no inputs. Omit or null for any other tool; on update, omitting it makes the tool an ordinary one.
Makes this a tool on one of the project’s MCP servers: it takes no runtime, no inputs and no calendar, and the description replaces the server’s own. On update, omitting it makes the tool an ordinary one.