Skip to content

Reference

lg_approvals_list: Approval inbox

Markdown version

List what's waiting for a person's approval. Deciding happens in the app, never here.

  • Changes data: no (read only)
  • Credential scope: agents:read (an API key's scopes, or what you allowed when connecting with OAuth)
  • Assistant level: any connected assistant (Read only and up)

Inputs

FieldTypeRequiredNotes
queryobject (status, run_id, agent_id, kind, assignee, limit)no
query.status"pending" | "completed"no
query.run_idstringno
query.agent_idstringno
query.kind"action" | "decision"no
query.assigneestringno
query.limitintegerno

Example MCP call

A tools/call request to https://manage.restolayer.com/mcp:

{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "lg_approvals_list",
    "arguments": {
      "query": {
        "status": "pending",
        "limit": 20
      }
    }
  }
}

Example REST call

The same thing over REST (GET /v1/approvals):

curl -s -X GET "https://manage.restolayer.com/v1/approvals?status=pending&limit=20" \
  -H "Authorization: Bearer $LG_API_KEY"

All tools: MCP tools. Connecting: connect your assistant.

Send feedback

Tell us what's broken, confusing or missing on this page, or an idea. It goes to the team that builds the product.
Please don't include passwords or card numbers.
Only to reply about this. Never added to any mailing list.