price_noodle
Free, never charged: price a workflow before you run it. Takes the same url OR graph and inputs as run_noodle and returns the estimated cost (itemized per paid node: node, model, basis, USD), the 20% service fee on the actual cost, the deposit a paid server would hold (the most a run can be charged), the likely refund, and every problem that would stop the graph from running; iterate until pricing.safety.ok is true. It never runs anything and creates no payment. Workflow: design with noodle_guide → price_noodle → run_noodle.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "price_noodle"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | A full nanoodle share link with its #g=, #j= or #a= fragment (short links are refused here). Pass url OR graph. | |
| graph | No | A custom workflow graph you composed: { "nodes": [{ "id", "type", "name"?, "fields": {...} }], "links": [{ "from": { "node", "port" }, "to": { "node", "port" } }] } (an object, or the same as a JSON string). Call noodle_guide for the node types, ports and priced models. Pass url OR graph. | |
| inputs | No | Text inputs keyed by input name, e.g. { "Idea": "a lighthouse at dawn" }; this paid server accepts no media inputs. Omit to use the graph's saved text. | |
| _pay_with | No | Payment asset on NEAR. Default near; choose usdc for a USDC quote. The quoted asset also determines the refund asset. |