Create an API flow between two nodes
create_apiRecords an API flow (start → end) for a RUNTIME request / call / data flow: a screen calling an endpoint, an endpoint hitting a table, an external integration (payment, SMS, webhook). Direction is caller → callee. APIs are first-class (apis table), not generic edges — for a build-time/structural reliance use create_edge (dependency) instead. Add the flows a maintainer would trace; don't wire everything. start/end must be existing node ids. See umtri://rules/system-structure (Connections).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"slug": "<slug>",
"start": "<start>",
"end": "<end>"
},
"name": "create_api"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end | Yes | Target node id. | |
| slug | Yes | Ground slug. | |
| label | No | ||
| start | Yes | Source node id. | |
| metadata | No | ||
| description | No |