Bentrix Docs
HomePricingDashboard

MCP tools: the agent itself

The agent's own seat: who it is and what it may do, the catalogue described and searched, a resource read for a client that does not surface them, long work followed as a job, a stream waited on (wait_for), a line in the workbench's Journal, and feedback sent to BENTRIX.

Reached from a connected client as client.agent in Python, client.agent in JavaScript, client.agent() in Rust — each tool below shows its call in every language.

agent_release#

Let go of what this agent started

labplan: plussince 1.0.0

Pauses every strategy run this agent started that still runs, and disarms the automation of the workbenches they ran on — everything else stays as it is. Answers what was let go.

Takes no arguments.

MCP

{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "agent_release",
    "arguments": {},
    "_meta": {
      "io.modelcontextprotocol/protocolVersion": "2026-07-28",
      "io.modelcontextprotocol/clientCapabilities": {}
    }
  }
}

Python

client.agent
def release(self) -> Dict[str, Any]

JavaScript

client.agent
release(args)

C#

client.Agent
public Task<JsonNode?> Release(CancellationToken ct = default)

Go

client.Agent
func (a *AgentAPI) Release(ctx context.Context) (any, error)

Java

client.agent
public Object release()

C++

client.agent
Json release()

Julia

client.agent
release = ()

R

client$agent
`release` = function()

Rust

client.agent()
pub fn release(&self) -> Result<Value, Error>

agent_whoami#

Who this agent is

readplan: freesince 1.0.0reads only

This agent's name as its client gave it, the scopes the person granted it on Settings › Agents, the catalogue's version, and whether it is answered while the window is minimized.

Takes no arguments.

MCP

{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "agent_whoami",
    "arguments": {},
    "_meta": {
      "io.modelcontextprotocol/protocolVersion": "2026-07-28",
      "io.modelcontextprotocol/clientCapabilities": {}
    }
  }
}

Python

client.agent
def whoami(self) -> Dict[str, Any]

JavaScript

client.agent
whoami(args)

C#

client.Agent
public Task<JsonNode?> Whoami(CancellationToken ct = default)

Go

client.Agent
func (a *AgentAPI) Whoami(ctx context.Context) (any, error)

Java

client.agent
public Object whoami()

C++

client.agent
Json whoami()

Julia

client.agent
whoami = ()

R

client$agent
`whoami` = function()

Rust

client.agent()
pub fn whoami(&self) -> Result<Value, Error>

describe#

Describe a tool

readplan: freesince 1.0.0reads only

One tool as the catalogue declares it: its title, description, scope, tier, the version it arrived in, and its arguments' and answer's schemas.

ArgumentTypeRequiredDefaultWhat it is
namestringyes—A tool's name.

MCP

{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "describe",
    "arguments": {
      "name": "…"
    },
    "_meta": {
      "io.modelcontextprotocol/protocolVersion": "2026-07-28",
      "io.modelcontextprotocol/clientCapabilities": {}
    }
  }
}

Python

client.agent
def describe(self, name: str) -> Dict[str, Any]

JavaScript

client.agent
describe(args)

C#

client.Agent
public Task<JsonNode?> Describe(string name, CancellationToken ct = default)

Go

client.Agent
func (a *AgentAPI) Describe(ctx context.Context, args AgentDescribeArgs) (any, error)

Java

client.agent
public Object describe(DescribeArgs args)

C++

client.agent
Json describe(const DescribeArgs &args)

Julia

client.agent
describe = (name)

R

client$agent
`describe` = function(name)

Rust

client.agent()
pub fn describe(&self, args: AgentDescribeArgs) -> Result<Value, Error>

feedback_report#

Send a report to Bentrix

labplan: freesince 1.22.0long work: answers a job

Sends a bug the agent found, or a need it has, to Bentrix's intake itself, exactly as the report window's Send does - the same queue (bug or need), the same install id, build, platform and moment, no account - with a first line naming the agent; the person is not asked first, and the agent's log keeps the text sent. At most 5 an hour from one agent. Answers a job: completed when the intake took it, failed with why when it did not arrive.

ArgumentTypeRequiredDefaultWhat it is
queuestringyes—
textstringyes—The report, in the agent's own words: what it did, what it saw, what it expected. Sent as it is, under a first line naming the agent; no person reads it before it leaves.

MCP

{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "feedback_report",
    "arguments": {
      "queue": "…",
      "text": "…"
    },
    "_meta": {
      "io.modelcontextprotocol/protocolVersion": "2026-07-28",
      "io.modelcontextprotocol/clientCapabilities": {}
    }
  }
}

Python

client.agent
def feedback_report(self, queue: Literal["need", "bug"], text: str) -> _Job[Dict[str, Any]]

JavaScript

client.agent
feedbackReport(args)

C#

client.Agent
public Task<Job> FeedbackReport(string queue, string text, CancellationToken ct = default)

Go

client.Agent
func (a *AgentAPI) FeedbackReport(ctx context.Context, args AgentFeedbackReportArgs) (*Job, error)

Java

client.agent
public Job feedbackReport(FeedbackReportArgs args)

C++

client.agent
Job feedback_report(const FeedbackReportArgs &args)

Julia

client.agent
feedback_report = (queue, text)

R

client$agent
`feedback_report` = function(queue, text)

Rust

client.agent()
pub fn feedback_report(&self, args: AgentFeedbackReportArgs) -> Result<Job<'a>, Error>

feedback_send#

Ask the person to send a report to Bentrix

labplan: freesince 1.0.0long work: answers a job

Opens Bentrix's report window filled with this text, in the need or bug queue; the person sends it or closes it. Answers a job: completed when it is sent, failed when it was closed unsent or did not arrive.

ArgumentTypeRequiredDefaultWhat it is
queuestringyes—
textstringyes—The report, in the agent's words; the person reads it before it is sent.

MCP

{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "feedback_send",
    "arguments": {
      "queue": "…",
      "text": "…"
    },
    "_meta": {
      "io.modelcontextprotocol/protocolVersion": "2026-07-28",
      "io.modelcontextprotocol/clientCapabilities": {}
    }
  }
}

Python

client.agent
def feedback_send(self, queue: Literal["need", "bug"], text: str) -> _Job[Dict[str, Any]]

JavaScript

client.agent
feedbackSend(args)

C#

client.Agent
public Task<Job> FeedbackSend(string queue, string text, CancellationToken ct = default)

Go

client.Agent
func (a *AgentAPI) FeedbackSend(ctx context.Context, args AgentFeedbackSendArgs) (*Job, error)

Java

client.agent
public Job feedbackSend(FeedbackSendArgs args)

C++

client.agent
Job feedback_send(const FeedbackSendArgs &args)

Julia

client.agent
feedback_send = (queue, text)

R

client$agent
`feedback_send` = function(queue, text)

Rust

client.agent()
pub fn feedback_send(&self, args: AgentFeedbackSendArgs) -> Result<Job<'a>, Error>

job_cancel#

Withdraw a job's question

labplan: freesince 1.0.0

Withdraws a question this agent asked that the person has not answered: a card is taken away; a sheet or window the person has open stays theirs. Answers the job.

ArgumentTypeRequiredDefaultWhat it is
jobstringyes—The job's handle, as the tool that started it answered.

MCP

{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "job_cancel",
    "arguments": {
      "job": "…"
    },
    "_meta": {
      "io.modelcontextprotocol/protocolVersion": "2026-07-28",
      "io.modelcontextprotocol/clientCapabilities": {}
    }
  }
}

Python

client.agent
def job_cancel(self, job: str) -> Dict[str, Any]

JavaScript

client.agent
jobCancel(args)

C#

client.Agent
public Task<JsonNode?> JobCancel(string job, CancellationToken ct = default)

Go

client.Agent
func (a *AgentAPI) JobCancel(ctx context.Context, args AgentJobCancelArgs) (any, error)

Java

client.agent
public Object jobCancel(JobCancelArgs args)

C++

client.agent
Json job_cancel(const JobCancelArgs &args)

Julia

client.agent
job_cancel = (job)

R

client$agent
`job_cancel` = function(job)

Rust

client.agent()
pub fn job_cancel(&self, args: AgentJobCancelArgs) -> Result<Value, Error>

job_get#

Read a job

readplan: freesince 1.0.0reads only

Answers a job this agent started: awaiting_person, completed with its result, failed with the reason, or cancelled.

ArgumentTypeRequiredDefaultWhat it is
jobstringyes—The job's handle, as the tool that started it answered.

MCP

{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "job_get",
    "arguments": {
      "job": "…"
    },
    "_meta": {
      "io.modelcontextprotocol/protocolVersion": "2026-07-28",
      "io.modelcontextprotocol/clientCapabilities": {}
    }
  }
}

Python

client.agent
def job_get(self, job: str) -> Dict[str, Any]

JavaScript

client.agent
jobGet(args)

C#

client.Agent
public Task<JsonNode?> JobGet(string job, CancellationToken ct = default)

Go

client.Agent
func (a *AgentAPI) JobGet(ctx context.Context, args AgentJobGetArgs) (any, error)

Java

client.agent
public Object jobGet(JobGetArgs args)

C++

client.agent
Json job_get(const JobGetArgs &args)

Julia

client.agent
job_get = (job)

R

client$agent
`job_get` = function(job)

Rust

client.agent()
pub fn job_get(&self, args: AgentJobGetArgs) -> Result<Value, Error>

job_list#

List this agent's jobs

readplan: freesince 1.0.0reads only

Answers every job this agent started this sitting, each as job_get answers it.

Takes no arguments.

MCP

{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "job_list",
    "arguments": {},
    "_meta": {
      "io.modelcontextprotocol/protocolVersion": "2026-07-28",
      "io.modelcontextprotocol/clientCapabilities": {}
    }
  }
}

Python

client.agent
def job_list(self) -> Dict[str, Any]

JavaScript

client.agent
jobList(args)

C#

client.Agent
public Task<JsonNode?> JobList(CancellationToken ct = default)

Go

client.Agent
func (a *AgentAPI) JobList(ctx context.Context) (any, error)

Java

client.agent
public Object jobList()

C++

client.agent
Json job_list()

Julia

client.agent
job_list = ()

R

client$agent
`job_list` = function()

Rust

client.agent()
pub fn job_list(&self) -> Result<Value, Error>

journal_note#

Write in a workbench's Journal

labplan: plussince 1.0.0

Writes one line in a workbench's Journal and Bentrix's log, after this agent's own name, as a run's lines are written.

ArgumentTypeRequiredDefaultWhat it is
benchstringyes—The workbench's uri.
textstringyes—

MCP

{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "journal_note",
    "arguments": {
      "bench": "…",
      "text": "…"
    },
    "_meta": {
      "io.modelcontextprotocol/protocolVersion": "2026-07-28",
      "io.modelcontextprotocol/clientCapabilities": {}
    }
  }
}

Python

client.agent
def journal_note(self, bench: str, text: str) -> Dict[str, Any]

JavaScript

client.agent
journalNote(args)

C#

client.Agent
public Task<JsonNode?> JournalNote(string bench, string text, CancellationToken ct = default)

Go

client.Agent
func (a *AgentAPI) JournalNote(ctx context.Context, args AgentJournalNoteArgs) (any, error)

Java

client.agent
public Object journalNote(JournalNoteArgs args)

C++

client.agent
Json journal_note(const JournalNoteArgs &args)

Julia

client.agent
journal_note = (bench, text)

R

client$agent
`journal_note` = function(bench, text)

Rust

client.agent()
pub fn journal_note(&self, args: AgentJournalNoteArgs) -> Result<Value, Error>

resource_list#

List the resources

readplan: freesince 1.0.0reads only

Answers every resource and stream template this application serves, with its name, title, whether it is a stream and whether it pages, as resources/templates/list gives them; prefix keeps the templates that start with it.

ArgumentTypeRequiredDefaultWhat it is
prefixstring——

MCP

{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "resource_list",
    "arguments": {},
    "_meta": {
      "io.modelcontextprotocol/protocolVersion": "2026-07-28",
      "io.modelcontextprotocol/clientCapabilities": {}
    }
  }
}

Python

client.agent
def resource_list(self, *, prefix: Optional[str] = None) -> Dict[str, Any]

JavaScript

client.agent
resourceList(args)

C#

client.Agent
public Task<JsonNode?> ResourceList(string? prefix = null, CancellationToken ct = default)

Go

client.Agent
func (a *AgentAPI) ResourceList(ctx context.Context, args AgentResourceListArgs) (any, error)

Java

client.agent
public Object resourceList(ResourceListArgs args)

C++

client.agent
Json resource_list(const ResourceListArgs &args)

Julia

client.agent
resource_list = (; prefix = nothing)

R

client$agent
`resource_list` = function(prefix = NULL)

Rust

client.agent()
pub fn resource_list(&self, args: AgentResourceListArgs) -> Result<Value, Error>

resource_read#

Read a resource

readplan: freesince 1.0.0reads only

Answers the same content resources/read gives for a uri, for a client that does not surface resources: the workspace, a workbench, its book, its bars, ticks, quotes, deals and Journal, the screen, the logs, a run. Resource_list names them.

ArgumentTypeRequiredDefaultWhat it is
uristringyes—A resource's URI, as resources/read takes it, its query included.

MCP

{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "resource_read",
    "arguments": {
      "uri": "…"
    },
    "_meta": {
      "io.modelcontextprotocol/protocolVersion": "2026-07-28",
      "io.modelcontextprotocol/clientCapabilities": {}
    }
  }
}

Python

client.agent
def resource_read(self, uri: str) -> Dict[str, Any]

JavaScript

client.agent
resourceRead(args)

C#

client.Agent
public Task<JsonNode?> ResourceRead(string uri, CancellationToken ct = default)

Go

client.Agent
func (a *AgentAPI) ResourceRead(ctx context.Context, args AgentResourceReadArgs) (any, error)

Java

client.agent
public Object resourceRead(ResourceReadArgs args)

C++

client.agent
Json resource_read(const ResourceReadArgs &args)

Julia

client.agent
resource_read = (uri)

R

client$agent
`resource_read` = function(uri)

Rust

client.agent()
pub fn resource_read(&self, args: AgentResourceReadArgs) -> Result<Value, Error>

tool_describe#

Describe one tool

readplan: freesince 1.22.0reads only

Answers one tool's whole declaration as tools/list gives it - its description, inputSchema, outputSchema, annotations and _meta - for a client that listed the tools brief (_meta bentrix/brief on tools/list). A tool this agent's scopes do not reach is answered as one that does not exist.

ArgumentTypeRequiredDefaultWhat it is
namestringyes—The tool's name, as tools/list names it.

MCP

{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "tool_describe",
    "arguments": {
      "name": "…"
    },
    "_meta": {
      "io.modelcontextprotocol/protocolVersion": "2026-07-28",
      "io.modelcontextprotocol/clientCapabilities": {}
    }
  }
}

Python

client.agent
def tool_describe(self, name: str) -> Dict[str, Any]

JavaScript

client.agent
toolDescribe(args)

C#

client.Agent
public Task<JsonNode?> ToolDescribe(string name, CancellationToken ct = default)

Go

client.Agent
func (a *AgentAPI) ToolDescribe(ctx context.Context, args AgentToolDescribeArgs) (any, error)

Java

client.agent
public Object toolDescribe(ToolDescribeArgs args)

C++

client.agent
Json tool_describe(const ToolDescribeArgs &args)

Julia

client.agent
tool_describe = (name)

R

client$agent
`tool_describe` = function(name)

Rust

client.agent()
pub fn tool_describe(&self, args: AgentToolDescribeArgs) -> Result<Value, Error>

wait_for#

Wait for a stream's next items

readplan: freesince 1.0.0reads only

Answers a stream's items since after, waiting up to timeout_ms (at most 60000) for one when there is none yet: the same page subscriptions deliver, for a client that holds no stream. Next is the cursor to pass as after.

ArgumentTypeRequiredDefaultWhat it is
afterstring——The cursor the last page answered as next; omitted, only what is new.
timeout_msinteger——How long to wait for something new, at most 60000 ms; 30000 when omitted.
uristringyes—A stream's URI, without its cursor: bentrix://lab/1/bench/2/quotes, bentrix://alerts/log. A stream that takes parameters keeps them in its query (…/closed/window?frames=M15,H1); after is never one of them.

MCP

{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "wait_for",
    "arguments": {
      "uri": "…"
    },
    "_meta": {
      "io.modelcontextprotocol/protocolVersion": "2026-07-28",
      "io.modelcontextprotocol/clientCapabilities": {}
    }
  }
}

Python

client.agent
def wait_for(self, uri: str, *, after: Optional[str] = None, timeout_ms: Optional[int] = None) -> Page

JavaScript

client.agent
waitFor(args)

C#

client.Agent
public Task<JsonNode?> WaitFor(string uri, string? after = null, long? timeoutMs = null, CancellationToken ct = default)

Go

client.Agent
func (a *AgentAPI) WaitFor(ctx context.Context, args AgentWaitForArgs) (any, error)

Java

client.agent
public Object waitFor(WaitForArgs args)

C++

client.agent
Json wait_for(const WaitForArgs &args)

Julia

client.agent
wait_for = (uri; after = nothing, timeout_ms = nothing)

R

client$agent
`wait_for` = function(uri, after = NULL, timeout_ms = NULL)

Rust

client.agent()
pub fn wait_for(&self, args: AgentWaitForArgs) -> Result<Value, Error>

Bentrix 0.1.382Every number, name and default on these pages is read from the application itself.What is comingWhat changed