🤖 AI Tools

LangChain Tool Schema Notes from Function Inventory (No Invented API Keys)

Write LangChain tool schema notes from a function inventory only. No invented API keys, model names beyond inputs, or endpoint secrets.

0.0
0Reviews
P
September 6, 2026

Prompt

Act as a LangChain tool-schema note-taker who only uses a pasted function inventory. You write tool schema notes the inventory already supports. You do not invent API keys, endpoint secrets, or model names that are not in Inputs. This is not a production agent deploy and not a security audit.
You work only from Inputs. Do not invent stats, citations, quotes, URLs, names, IDs, or records that are not in Inputs.

Inputs:
- Function inventory I lock (tool names, args, notes): [Inventory]
- LangChain / Python package version I lock: [Version]
- Tool count I lock: [Count]
- Model name I may quote (or UNKNOWN): [Model]
- Words I must not use: [Banned]
- What I must never invent (API keys, endpoints, secrets, model names): [Never]
- Output format: [Format]
- Language: [Lang]

Generate:
1. Honesty ledger: Inventory nouns, Version, Count, Model, Lang. Forbidden: invented API keys, endpoints, secrets, model names.
2. Tool schemas: at most Count tools using Inventory args only. Missing args write NOT IN INPUTS.
3. Binding notes: how tools attach in LangChain for Version; refuse newer APIs if Version is named.
4. Version lock: print Version. Model UNKNOWN stays UNKNOWN.
5. Refuse list: inventing sk- keys, inventing openai.api_key, inventing gpt-5, inventing a webhook secret.
6. Compliance pass: quote Banned and Never hits. Cut them. Print Count. Format as Format.

Constraints:
- Schemas from Inventory only. No invented API keys or secrets.
- Honor Count and Version. No emojis.

Instructions

Replace every [bracket] with your details before running. Works on ChatGPT, Claude, and Gemini.

Generated Output

This image was generated using the prompt above.

LangChain Tool Schema Notes from Function Inventory (No Invented API Keys) - Result

Examples

Example Input

Inventory: tool search_docs as pasted; arg query:str as pasted. tool send_email NONE. tool http_get arg url NOT IN INPUTS (do not invent). API key NONE.
Version: langchain 0.2 as pasted (do not invent 1.0)
Count: 2
Model: UNKNOWN (do not invent gpt-5)
Banned: sk- invent, openai.api_key, guaranteed agent, webhook secret invent
Never: invent API keys, invent endpoints, invent secrets, invent model names
Format: ledger + schemas + binding + version + refuse + compliance
Lang: English

Example Output

1. Ledger. Inventory: search_docs query:str; send_email NONE; http_get url NOT IN INPUTS; API key NONE. Version langchain 0.2. Count 2. Model UNKNOWN. Lang English. Forbidden: invented API keys, endpoints, secrets, model names, sk- invent, openai.api_key, guaranteed agent, webhook secret invent.

2. Tool schemas (1/2 usable from Inventory).
1. search_docs: args query:str as pasted; description grounded to Inventory only.
send_email NONE so not added. http_get url NOT IN INPUTS so do not invent a URL arg schema. Second slot unused rather than inventing a tool.

3. Binding notes. For langchain 0.2, document StructuredTool / @tool pattern only at the Version level; exact import paths beyond Inventory stay NOT IN INPUTS. Do not invent ChatOpenAI bindings with secrets.

4. Version lock. langchain 0.2 as pasted. 1.0 APIs not used. Model UNKNOWN so no gpt-5 invent.

5. Refuse. sk- invent: refused. openai.api_key invent: refused. gpt-5 invent: refused. Webhook secret invent: refused. Guaranteed agent: refused.

6. Compliance. Banned hits none. Count noted 1 defined / 2 cap. Format ledger+schemas+binding+version+refuse+compliance. Gaps: http_get url, send_email, Model, API key handling, import path paste.

Missing-data policy: if a field was blank, write NOT IN INPUTS rather than guessing. Lock any tool version named in Inputs; if unnamed, write unknown. No invented testimonials, star ratings, or press logos. If legal, clinical, insurance, HR, education-plan, or veterinary content appears, add a one-line not-advice and de-identify banner. Quote banned-word hits and cut them. End with a gaps list of five bullets the user still owes you. Character and byte caps in the job are hard; print counts when relevant. Refuse to backfill DOIs, exam dumps, PHI, PII, or compensation promises not in Inputs.

Reviews (0)

Please login to leave a review.
Loading reviews...