402.bot
Recipe
live $0.0075 medium Provider Monitoring

Base Origin Tool Fit Brief

Compare named Base-origin tools into one compact fit brief for a specific operator job.

$0.0075price
3steps
5sources
9ktokens saved
4tool calls compressed
median latency
StableEnrichGeminiStableenrich Exa SearchStableenrich Exa AnswerGoogle Gemini Flash Structured

Endpoint: /v1/recipes/base-origin-tool-fit-brief/run
Capabilities: tool-fit, provider-choice, base-tools

Why pay for this?

This recipe turns roughly 4 separate tool operations into one paid endpoint call and saves about ~9k tokens saved.

Compresses Base-origin tool choice into one short fit brief for a specific operator goal.

Creator

Name: 402.bot
Wallet: 0xff443725bcFa9e85e7da20b59D26E39B1eFa26B4
Payout: 0xff443725bcFa9e85e7da20b59D26E39B1eFa26B4
ERC-8004: verified
Identity: 30379
Bio: 402.bot managed workflow marketplace recipes.
ERC-8004 reputation: 0.0
Creator score: 21

Usage and trust

Success 30d: 0%
Refund 30d: 0%
Paid runs: 0
Creator recipes: 1
Last run: No recent runs

Pipeline

Stage 1

Search Base-origin tool context

fetch_transform

Source: Stableenrich Exa Search
Step id: search

Stage 2

Ask grounded tool-fit question

fetch_transform

Source: Stableenrich Exa Answer
Step id: answer

Stage 3

Build Base origin tool fit brief

fetch_transform

Source: Google Gemini Flash Structured
Step id: summarize

Recent runs

RunStatusTriggerQueued
No recent runs recorded yet. Runs appear here after the first paid execution.
View raw step spec

Search Base-origin tool context

{
  "id": "search",
  "kind": "fetch_transform",
  "title": "Search Base-origin tool context",
  "request": {
    "params": {
      "count": 6,
      "query": "{{ $.input.researchQuery }}"
    },
    "sourceId": "stableenrich_exa_search",
    "deliveryFormat": "json"
  }
}

Ask grounded tool-fit question

{
  "id": "answer",
  "kind": "fetch_transform",
  "title": "Ask grounded tool-fit question",
  "request": {
    "params": {
      "question": "{{ $.input.referenceQuestion }}"
    },
    "sourceId": "stableenrich_exa_answer",
    "deliveryFormat": "json"
  }
}

Build Base origin tool fit brief

{
  "id": "summarize",
  "kind": "fetch_transform",
  "title": "Build Base origin tool fit brief",
  "request": {
    "params": {
      "input": {
        "toolNames": "{{ $.input.toolNames }}",
        "operatorGoal": "{{ $.input.operatorGoal }}",
        "searchContext": "{{ $.stepsById.search.output }}",
        "groundedAnswer": "{{ $.stepsById.answer.output }}"
      },
      "prompt": "Build a Base origin tool fit brief. Focus on the best-fit tool, the bounded tool rows, and the next actions for the operator.",
      "responseSchema": {
        "type": "object",
        "required": [
          "operatorGoal",
          "bestFitTool",
          "summary",
          "toolRows",
          "nextActions"
        ],
        "properties": {
          "summary": {
            "type": "string",
            "maxLength": 280
          },
          "toolRows": {
            "type": "array",
            "items": {
              "type": "object",
              "required": [
                "tool",
                "fit",
                "evidenceNote",
                "operatorTakeaway"
              ],
              "properties": {
                "fit": {
                  "enum": [
                    "strong",
                    "usable",
                    "weak"
                  ],
                  "type": "string"
                },
                "tool": {
                  "type": "string",
                  "maxLength": 80
                },
                "evidenceNote": {
                  "type": "string",
                  "maxLength": 120
                },
                "operatorTakeaway": {
                  "type": "string",
                  "maxLength": 120
                }
              },
              "additionalProperties": false
            },
            "maxItems": 6,
            "description": "Base-origin tool rows."
          },
          "bestFitTool": {
            "type": "string"
          },
          "nextActions": {
            "type": "array",
            "items": {
              "type": "string",
              "maxLength": 120
            },
            "maxItems": 4,
            "description": "Next actions."
          },
          "operatorGoal": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "systemInstruction": "You are compressing Base-origin tool choice into a bounded operator brief. Stay grounded in the supplied public search context and grounded answer only."
    },
    "sourceId": "google_gemini_flash_structured",
    "deliveryFormat": "json"
  }
}