Put tool payload capture config under plugin namespace

Signed-off-by: Eric Peterson <ericpeterson@spotify.com>
This commit is contained in:
Eric Peterson
2026-05-19 09:23:35 +02:00
parent 0422010a37
commit 828d3d4282
3 changed files with 20 additions and 23 deletions
+3 -3
View File
@@ -326,13 +326,13 @@ This flag is honored by every plugin that creates spans through the [Tracing Ser
### Capturing tool arguments and results
When `backend.tracing.capture.mcpActionsToolPayloads` is enabled, the tool's input arguments and output result are recorded on the span as `gen_ai.tool.call.arguments` and `gen_ai.tool.call.result`.
When `mcpActions.tracing.capture.toolPayload` is enabled, the tool's input arguments and output result are recorded on the span as `gen_ai.tool.call.arguments` and `gen_ai.tool.call.result`.
```yaml title="app-config.yaml"
backend:
mcpActions:
tracing:
capture:
mcpActionsToolPayloads: true # defaults to false
toolPayload: true # defaults to false
```
:::warning