Skip to main content

Connector manifest guide

A connector manifest describes how Giant Tree talks to an agent API. It is data, not executable code. The gateway validates it and renders the install form from its configuration schema.

Minimal manifest​

{
"schema_version": 1,
"key": "my-agent",
"version": "1.0.0",
"name": "My agent",
"description": "Example HTTP agent",
"icon": "link",
"auth": [
{
"key": "bearer",
"type": "bearer",
"credential": "token"
}
],
"config_schema": {
"type": "object",
"required": ["endpoint"],
"properties": {
"endpoint": {
"type": "string",
"title": "Endpoint",
"format": "uri"
}
}
},
"operations": {
"chat": {
"request": {
"method": "POST",
"url": "{{config.endpoint}}",
"headers": {},
"body": {
"message": "{{message}}",
"conversation_id": "{{thread_ref}}"
}
},
"response": {
"mode": "json",
"reply": "$.reply",
"thread_ref": "$.conversation_id"
}
}
}
}

Top-level fields​

FieldRequiredNotes
schema_versionyesMust be 1
keyyesLowercase identifier, unique per version
versionyesSemantic version, e.g. 1.0.0
nameyesDisplay name
descriptionnoShown in the catalog
iconnolink, zap, message, cloud, database or agent
authnoDefaults to no auth
config_schemanoJSON Schema used by the install form
runtimenohttp (default), workato, agentforce, mcp or a2a
operationshttp onlyAt least one operation; chat is used by agents

Template variables​

Only these values can be interpolated:

VariableMeaning
{{message}}Current user message
{{thread_ref}}Provider conversation/thread reference
{{resume_ref}}Pause/resume reference, when supported
{{idempotency_key}}Giant Tree idempotency key
{{config.field}}Value from the tenant installation
{{auth.field}}Decrypted credential field

Anything else renders as an empty string. There are no loops, conditionals, functions or JavaScript expressions.

Workato Genie runtime​

Workato needs a conversation create call followed by an SSE message call. That stateful lifecycle is handled by the native Workato adapter. Use runtime: "workato" and leave operations empty.

{
"schema_version": 1,
"key": "workato-genie",
"version": "1.0.0",
"name": "Workato Genie",
"description": "Workato Agent Studio connector",
"icon": "zap",
"runtime": "workato",
"auth": [
{
"key": "api_key",
"type": "bearer",
"credential": "api_key"
}
],
"config_schema": {
"type": "object",
"required": ["genie_id", "idp_user_id"],
"properties": {
"genie_id": { "type": "string", "title": "Genie handle" },
"idp_user_id": { "type": "string", "title": "Workato IdP user ID" },
"base_url": { "type": "string", "title": "API base URL" }
}
},
"operations": {}
}

The credential is stored as api_key and is sent as a bearer token by the native adapter. The adapter creates a conversation, streams the message, tracks the thread reference, and handles Workato approval/auth pauses.

Agentforce runtime​

Agentforce uses an OAuth client-credentials token, a session per thread, an incrementing sequenceId and optional streaming. The native adapter handles that lifecycle. Use runtime: "agentforce" and leave operations empty.

{
"schema_version": 1,
"key": "agentforce",
"version": "1.0.0",
"name": "Salesforce Agentforce",
"description": "Agentforce Agent API connector",
"icon": "agent",
"runtime": "agentforce",
"auth": [
{
"key": "client_credentials",
"type": "basic",
"username_credential": "client_id",
"password_credential": "client_secret"
}
],
"config_schema": {
"type": "object",
"required": ["agent_id", "domain_url"],
"properties": {
"agent_id": { "type": "string", "title": "Agent ID" },
"domain_url": { "type": "string", "title": "Salesforce domain URL" },
"timezone": { "type": "string", "title": "Timezone" },
"bypass_user": { "type": "string", "title": "Bypass user (true/false)" },
"base_url": { "type": "string", "title": "API base URL" }
}
},
"operations": {}
}

The adapter calls:

  1. POST /services/oauth2/token with client credentials.
  2. POST /agents/{agentId}/sessions.
  3. POST /sessions/{sessionId}/messages with an incrementing sequence.
  4. Streaming responses are parsed into a reply.

The client ID and secret are stored as write-only credentials.

MCP and A2A runtimes​

MCP and A2A are native runtimes:

{
"runtime": "mcp",
"config_schema": {
"type": "object",
"required": ["endpoint"],
"properties": {
"endpoint": { "type": "string", "title": "MCP endpoint" },
"tool_name": { "type": "string", "title": "MCP tool name" }
}
},
"operations": {}
}

For MCP, the agent ID is the MCP tool name and tool_name can override the connector test call. For A2A, the endpoint is the JSON-RPC agent endpoint.

These runtimes reuse the same MCP/A2A adapters as direct agents, so a connector installation can now back an MCP or A2A agent without duplicating configuration.

Auth options​

None​

{ "key": "none", "type": "none" }

API key​

{
"key": "api_key",
"type": "api_key",
"in": "header",
"name": "X-API-Key",
"credential": "api_key"
}

in can be header or query.

Bearer​

{ "key": "bearer", "type": "bearer", "credential": "token" }

Basic​

{
"key": "basic",
"type": "basic",
"username_credential": "email",
"password_credential": "api_token"
}

Credentials are stored encrypted and are write-only. The console never reads them back.

Request mapping​

{
"method": "POST",
"url": "{{config.endpoint}}/chat",
"headers": {
"X-Tenant": "{{config.tenant}}"
},
"query": {
"version": "2026-01-01"
},
"body": {
"message": "{{message}}",
"conversation_id": "{{thread_ref}}"
}
}

Supported methods: GET, POST, PUT, PATCH, DELETE.

If a body is present, Content-Type: application/json is added unless supplied.

Response mapping​

{
"mode": "json",
"reply": "$.reply",
"thread_ref": "$.conversation_id",
"resume_ref": "$.resume_id",
"error": "$.error.message",
"status": {
"path": "$.status",
"completed": ["completed", "done"],
"failed": ["failed", "error"]
}
}

Paths support:

  • $.reply
  • $.result.message
  • $.items[0].text
  • bare reply

The current runtime supports JSON responses. SSE and AWS event-stream modes are planned by CP-5.

Catalog and cloning​

The catalog contains prebuilt connectors such as Generic HTTP, Workato Genie and Salesforce Agentforce.

  • View manifest shows the complete definition.
  • Clone creates an editable tenant copy with a new key and version.
  • New connector starts from an empty manifest for a completely new connector.

Cloning is the recommended starting point for a new provider because it carries over the auth scheme, configuration fields and request/response mapping.

Testing​

After installing:

  1. open Connectors
  2. click Edit to update configuration or credentials
  3. enter a test message
  4. click Test

A test returns one of:

  • completed with a mapped reply
  • failed with a mapped or transport error

The test uses the same runtime as live agent calls.

Validation rules​

  • Manifest keys and versions must be valid and unique.
  • At least one operation is required.
  • chat.request.url must be present.
  • chat.response.reply must be present.
  • Credentials required by the selected auth scheme must be supplied.
  • Install config must include every field marked required in config_schema.

Security boundary​

  • No eval, code execution or arbitrary expressions.
  • Credentials never appear in API responses.
  • Provider URLs are tenant-supplied; SSRF and egress controls are CP-8.
  • Connector test and live calls share timeout and error handling.
  • Connector definitions are tenant-private when created from the console.

Publication workflow​

Tenant catalog entries can be edited or deleted from the catalog. Editing resets the definition to draft review status.

New connectors are tenant-private.

  1. Choose a prebuilt catalog entry and click View manifest to inspect it.
  2. Click Clone to create an editable tenant copy.
  3. Update the key, endpoint and mapping.
  4. Install and test it in the tenant.
  5. Click Submit to Giant Tree.
  6. A platform admin reviews it under Platform → Connector submissions.
  7. Approval publishes it globally; rejection leaves it tenant-private with a review note.

Tenant definitions are never implicitly global. A global key/version cannot be overwritten by a tenant clone.