Tool integration
A proposed adapter boundary for controlled access to external systems.
Adapter contract
Each adapter declares a stable tool identifier, version, input schema, output schema, required scopes, side-effect classification, and retry policy. Its server-side handler receives an authorized execution context. Sensitive credentials are resolved by the application and never returned to the model.
Before execution
Validate arguments, resolve resource ownership, inspect granted scopes, and check whether the action needs explicit approval. Tie the approval to a digest of the action arguments. Record the decision without logging tokens or full confidential content.
After execution
Normalize the response, validate its schema, and record the external result identifier when available. Distinguish a known failure from an unknown write outcome. Output validation should not conceal upstream errors with a fabricated success object.
Planned connectors
Google Drive, Gmail, other Google Workspace services, third-party APIs, and compatible MCP services are candidates. MCP describes a protocol boundary; using it does not automatically provide safe authorization, trustworthy content, or appropriate user scopes.