From 38bf2e34d21268e0fbc21958099e9b165049f869 Mon Sep 17 00:00:00 2001 From: Gnanaguru Sattanathan <32893938+avoguru@users.noreply.github.com> Date: Wed, 21 Oct 2026 13:20:59 -0700 Subject: [PATCH 1/2] feat(webhooks): expose remote result metadata to post hooks --- logic_extensions/http/1.0/schema.yaml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/logic_extensions/http/1.0/schema.yaml b/logic_extensions/http/1.0/schema.yaml index a1fa036..95b2837 100644 --- a/logic_extensions/http/1.0/schema.yaml +++ b/logic_extensions/http/1.0/schema.yaml @@ -309,6 +309,11 @@ components: description: Whether the tool succeeded output: description: The tool's output value (any JSON type — string, number, object, array, etc.) + metadata: + type: object + additionalProperties: true + x-go-type: json.RawMessage + description: Remote tool result metadata. Reserved Arcade fields are excluded. content: type: array description: | @@ -330,6 +335,11 @@ components: properties: output: description: Override the output value (any JSON type — string, number, object, array, etc.) + metadata: + type: object + additionalProperties: true + x-go-type: json.RawMessage + description: Replace remote result metadata. An empty object removes all remote metadata; omission preserves it. content: type: array description: | From 94d02955fd91cf70e27daeb35612105144c83170 Mon Sep 17 00:00:00 2001 From: Gnanaguru Sattanathan <32893938+avoguru@users.noreply.github.com> Date: Fri, 23 Oct 2026 10:39:05 -0700 Subject: [PATCH 2/2] docs(webhooks): define remote post-hook output shapes --- logic_extensions/http/1.0/schema.yaml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/logic_extensions/http/1.0/schema.yaml b/logic_extensions/http/1.0/schema.yaml index 95b2837..9429101 100644 --- a/logic_extensions/http/1.0/schema.yaml +++ b/logic_extensions/http/1.0/schema.yaml @@ -308,7 +308,8 @@ components: type: boolean description: Whether the tool succeeded output: - description: The tool's output value (any JSON type — string, number, object, array, etc.) + description: | + The tool's output value, which may be any JSON type. For a remote JSON-RPC error, this is an object with `message` and optional `data`; the protocol error code is preserved separately. For a remote `input_required` result, this is an object with `inputRequests` and optional `structuredContent` containing the partial output. metadata: type: object additionalProperties: true @@ -334,7 +335,8 @@ components: description: Override response parameters properties: output: - description: Override the output value (any JSON type — string, number, object, array, etc.) + description: | + Replace the output value using the same shape as the request's `output`. For remote JSON-RPC errors, replace `message` and optional `data`. For `input_required`, preserve the exact `inputRequests` key set; request values and partial `structuredContent` may be redacted. An invalid transformation fails the tool call. metadata: type: object additionalProperties: true