Use direct execution when your app already knows the operation — scheduled jobs, workflow steps, or UI buttons like “Send calendar invite”. No MCP client required.Documentation Index
Fetch the complete documentation index at: https://docs.corsair.dev/llms.txt
Use this file to discover all available pages before exploring further.
Run an operation
plugin.section.operation (e.g. github.api.repositories.star).
Handle missing auth
run() returns a result object instead of throwing when the tenant still needs to connect a plugin:
Permissions
Direct execution respects the same instance policies as MCP. Denied operations returnCorsairApiError with status 403.
MCP vs direct
| Use case | Use |
|---|---|
| Agent picks tools at runtime | Coding agents or Agent SDKs |
| Backend knows the exact operation | tenant.run() |