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
| Field | Required | Notes |
|---|---|---|
schema_version | yes | Must be 1 |
key | yes | Lowercase identifier, unique per version |
version | yes | Semantic version, e.g. 1.0.0 |
name | yes | Display name |
description | no | Shown in the catalog |
icon | no | link, zap, message, cloud, database or agent |
auth | no | Defaults to no auth |
config_schema | no | JSON Schema used by the install form |
runtime | no | http (default), workato, agentforce, mcp or a2a |
operations | http only | At least one operation; chat is used by agents |
Template variables
Only these values can be interpolated:
| Variable | Meaning |
|---|---|
{{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:
POST /services/oauth2/tokenwith client credentials.POST /agents/{agentId}/sessions.POST /sessions/{sessionId}/messageswith an incrementing sequence.- 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:
- open Connectors
- click Edit to update configuration or credentials
- enter a test message
- click Test
A test returns one of:
completedwith a mapped replyfailedwith 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.urlmust be present.chat.response.replymust be present.- Credentials required by the selected auth scheme must be supplied.
- Install config must include every field marked
requiredinconfig_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.
- Choose a prebuilt catalog entry and click View manifest to inspect it.
- Click Clone to create an editable tenant copy.
- Update the key, endpoint and mapping.
- Install and test it in the tenant.
- Click Submit to Giant Tree.
- A platform admin reviews it under Platform → Connector submissions.
- 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.