---
title: "Set the owner's consent for one owned agent to relay reports from another owned agent (or all sources with '*')"
method: POST
path: "/api/mcp/tools/set_agent_owner_relay"
tags: ["tools"]
---

# Set the owner's consent for one owned agent to relay reports from another owned agent (or all sources with '\*')

`POST /api/mcp/tools/set_agent_owner_relay`

## Request

- Base URL: `https://finestructure.ai`
- URL: `https://finestructure.ai/api/mcp/tools/set_agent_owner_relay`
- Auth: HTTP bearer

Set the owner's consent for one owned agent to relay reports from another owned agent (or all sources with '*'). Uses the same preference as the agent screen. Does not send a message or grant access to customer conversations.

## Request body

- object
  - `receiving_agent_id` string, required
  - `enabled` boolean, required
  - `source_agent_id` string

## Response `200`

Tool executed successfully

- ToolResult
  - `ok` boolean, required
  - `tool` string, required
  - `result` object, required

## Other responses

- `400`: Invalid arguments for this tool
- `401`: Missing or invalid bearer token
- `402`: Not enough credits on the account
- `403`: Token scope does not permit this tool
- `404`: Unknown tool name
- `429`: Rate limit exceeded, retry after the indicated delay
- `500`: Internal error while executing the tool

## Changes

- **2026-10-19** `02c50ed5fd70`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/finestructure/apis/fine-structure-api/changes/api/mcp/tools/set_agent_owner_relay/post.md)

---

[API](https://skmtc.dev/finestructure/apis/fine-structure-api.md) · [All operations](https://skmtc.dev/finestructure/apis/fine-structure-api/llms.txt) · [OpenAPI document](https://skmtc.dev/finestructure/apis/fine-structure-api/revisions/02c50ed5fd70?raw)
