Tools · Documents and apps

use_app

Changes things

Run an app with input and get its result. Use this instead of redoing work the app already encodes.

Example

The call

tool call
{
  "tool": "use_app",
  "arguments": {
    "app": "tip-calc",
    "input": {
      "bill": 84,
      "people": 3,
      "tip": 15
    }
  }
}

Needs an app made with create_app

So it isn't run here, and no output is shown: nothing on this page is made up.

Parameters

NameTypeDescription
app*stringThe app's name.
inputobjectJSON object passed to the app's run(input, env).

* required

Build documents, dashboards and small apps people can open.