Skip to content
brain.GitHub
Developer docs OPEN SOURCE
HTTP APIEndpoints

Register runtime tools

POST
/executors

Requires management authority. Connect the returned executor before creating the session. Rebinding supplies the saved session and matching descriptors; functions remain in the client.

Authorization

bearer
headerAuthorizationBearer <token>

Request Body

application/json
  1. body
binding*string
session?string
tools*array<>

Response Body

Register runtime tools

application/json
  1. response
id*string
token*string
curl -X POST 'http://127.0.0.1:8080/executors' \  -H 'Authorization: Bearer <BRAIN_TOKEN>' \  -H 'Content-Type: application/json' \  -d '{  "binding": "string",  "tools": [    {      "description": "string",      "input_schema": null,      "name": "string"    }  ]}'
{  "id": "string",  "token": "string"}