tool_use Is Not invoke(): Binding Execution-Finality to Agentic Tool-Call Interfaces and MCP
draft-das-agentic-tool-binding-03
This document is an Internet-Draft (I-D).
Anyone may submit an I-D to the IETF.
This I-D is not endorsed by the IETF and has no formal standing in the
IETF standards process.
| Document | Type | Active Internet-Draft (individual) | |
|---|---|---|---|
| Author | Sangam Das | ||
| Last updated | 2026-09-29 (Latest revision 2026-09-05) | ||
| RFC stream | (None) | ||
| Intended RFC status | (None) | ||
| Formats | |||
| Additional resources |
Before Comparing Meta Muse / Sentinel, Read the Earlier DAS Disclosures: An AI-Assisted Primary-Source Technical Guide — Zenodo
Github - Runnable Reference Implementation - tool_use Is Not invoke(): Binding Execution-Finality to Agentic Tool-Call Interfaces and MCP The Internet Solved Communication. It Never Solved Authority. — Zenodo. Broader technical background on the execution-finality gap. |
||
| Stream | Stream state | (No stream defined) | |
| Consensus boilerplate | Unknown | ||
| RFC Editor Note | (None) | ||
| IESG | IESG state | I-D Exists | |
| Telechat date | (None) | ||
| Responsible AD | (None) | ||
| Send notices to | (None) |
draft-das-agentic-tool-binding-03
Network Working Group S. Das
Internet-Draft Independent Inventor
Intended status: Informational 5 September 2026
Expires: 9 March 2027
tool_use Is Not invoke(): Binding Execution-Finality to Agentic Tool-
Call Interfaces and MCP
draft-das-agentic-tool-binding-03
Abstract
Frontier runtimes already standardized the dangerous moment. A model
emits a tool_use block, a tool_calls array, or an MCP tools/call
payload. The host then invokes whatever name and arguments the model
printed. Alignment, allowlists, and OAuth sit around that moment.
They do not sit on it.
The consequence of this gap is no longer confined to email or payment
demos. In defense, energy, grid control, industrial process control,
and other critical-infrastructure deployments, the same tool_use
block already reaches actuation-class systems -- logistics and
targeting-adjacent decision support, SCADA and PLC interfaces,
medical devices, autonomous platforms. In these environments,
detection after the fact is not mitigation; it is an incident report
written after the effect has already occurred. An agent that can act
at machine speed but cannot be halted at machine speed is a system
running without brakes: the first uncontrolled invocation is not a
warning sign, it is the accident. Command authority, human
oversight, and legal review all operate on human time. An unbound
tool_use block operates on machine time. When those two clocks
diverge, the gap belongs to whichever side reaches the effect first
-- and today, nothing structurally guarantees that side is
authorization.
This document does not invent another assistant API. It binds the
Agent Candidate Act profile [I-D.das-agentic] onto the three
interface families those runtimes and their customers already ship:
tool_use / computer_use style interfaces, function-calling and
structured tool-response interfaces, and Model Context Protocol
tools/call. The model may emit the block. The block remains non-
effective. A local enforcer builds the act, binds the argument
digest, and refuses invoke() until scoped authority is verified and
consumed at the dispatch sink.
For consequence classes above a defined threshold -- FINANCIAL,
PHYSICAL, NETWORK_CONTROL, and any act reaching defense or critical-
infrastructure actuation -- this binding treats fail-closed as the
Das Expires 9 March 2027 [Page 1]
Internet-Draft Tool-Use Binding September 2026
only conforming behavior: absent successfully verified, current, act-
bound authority, the candidate act stays non-effective regardless of
model confidence, prior session trust, or upstream alignment signal.
Each enforcement decision, allow or deny, commits a Ledger-Anchored
Validation Receipt (LAVR) -- a signed, hash-chained enforcement
artifact bound to the specific candidate act and its argument digest
at the moment of decision. An LAVR is not a log entry assembled
afterward for audit; it is the proof that the finality boundary
actually gated this act before any effect could occur, and its
absence is itself a fail-closed condition.
The implementation target is a middleware function that a host loop
can call without changing the model vendor. tool_use is not invoke().
Status of This Memo
This Internet-Draft is submitted in full conformance with the
provisions of BCP 78 and BCP 79.
Internet-Drafts are working documents of the Internet Engineering
Task Force (IETF). Note that other groups may also distribute
working documents as Internet-Drafts. The list of current Internet-
Drafts is at https://datatracker.ietf.org/drafts/current/.
Internet-Drafts are draft documents valid for a maximum of six months
and may be updated, replaced, or obsoleted by other documents at any
time. It is inappropriate to use Internet-Drafts as reference
material or to cite them other than as "work in progress."
This Internet-Draft will expire on 9 March 2027.
Copyright Notice
Copyright (c) 2026 IETF Trust and the persons identified as the
document authors. All rights reserved.
This document is subject to BCP 78 and the IETF Trust's Legal
Provisions Relating to IETF Documents (https://trustee.ietf.org/
license-info) in effect on the date of publication of this document.
Please review these documents carefully, as they describe your rights
and restrictions with respect to this document. Code Components
extracted from this document must include Revised BSD License text as
described in Section 4.e of the Trust Legal Provisions and are
provided without warranty as described in the Revised BSD License.
Das Expires 9 March 2027 [Page 2]
Internet-Draft Tool-Use Binding September 2026
Table of Contents
1. Introduction . . . . . . . . . . . . . . . . . . . . . . . . 4
2. Why This Binding Is the Lab-Facing Draft . . . . . . . . . . 5
3. Requirements Language . . . . . . . . . . . . . . . . . . . . 6
4. Problem Space . . . . . . . . . . . . . . . . . . . . . . . . 6
5. What Labs Already Ship and What They Do Not Bind . . . . . . 7
5.1. Anthropic tool_use and Computer Use . . . . . . . . . . . 7
5.2. OpenAI function calling, Responses tools, GPTs . . . . . 7
5.3. MCP tools/list and tools/call . . . . . . . . . . . . . . 7
5.4. What This Binding Adds . . . . . . . . . . . . . . . . . 7
6. Binding: Anthropic tool_use . . . . . . . . . . . . . . . . . 7
6.1. Computer Use . . . . . . . . . . . . . . . . . . . . . . 8
7. Binding: OpenAI tool_calls and Responses . . . . . . . . . . 9
8. Binding: MCP tools/call . . . . . . . . . . . . . . . . . . . 9
9. Streaming, Partial Blocks, and Parallel Calls . . . . . . . . 10
10. AgentCandidateAct Schema Recalled for Implementers . . . . . 10
11. Field-by-Field Mapping Tables . . . . . . . . . . . . . . . . 11
11.1. Anthropic tool_use to AgentCandidateAct . . . . . . . . 11
11.2. OpenAI tool_calls to AgentCandidateAct . . . . . . . . . 12
11.3. MCP tools/call to AgentCandidateAct . . . . . . . . . . 12
12. Worked Denies the Labs Will Recognize . . . . . . . . . . . . 12
13. Where to Put the Hook in Shipping Runtimes . . . . . . . . . 13
14. Host-Loop Workflow . . . . . . . . . . . . . . . . . . . . . 13
15. Reference Host Loop . . . . . . . . . . . . . . . . . . . . . 14
16. enforce() Contract . . . . . . . . . . . . . . . . . . . . . 14
17. JSON Objects Used on the Wire . . . . . . . . . . . . . . . . 15
17.1. Mapped Claude Block . . . . . . . . . . . . . . . . . . 15
17.2. Mapped OpenAI Payout Call . . . . . . . . . . . . . . . 16
17.3. Host Deny Payload Back to the Model . . . . . . . . . . 17
17.4. Complete Claude Turn . . . . . . . . . . . . . . . . . . 17
18. Practical Feasibility: Latency and Legacy Loops . . . . . . . 18
18.1. Do Not Change the Model . . . . . . . . . . . . . . . . 18
18.2. Latency Budget . . . . . . . . . . . . . . . . . . . . . 18
18.3. Legacy Host Loops . . . . . . . . . . . . . . . . . . . 18
18.4. MCP Without Server Changes . . . . . . . . . . . . . . . 19
18.5. Computer Use Without a New Browser . . . . . . . . . . . 19
18.6. What This Binding Does Not Require . . . . . . . . . . . 19
19. How Labs and Customers Use It . . . . . . . . . . . . . . . . 19
19.1. Anthropic-Class Workspace . . . . . . . . . . . . . . . 19
19.2. OpenAI-Class Workspace . . . . . . . . . . . . . . . . . 19
19.3. Platform Customers . . . . . . . . . . . . . . . . . . . 19
20. Default Consequence Classes for Common Tools . . . . . . . . 20
21. Memory, Projects, and Persistent Notes . . . . . . . . . . . 20
22. Conformance Tests a Lab Can Run Overnight . . . . . . . . . . 20
23. Error Mapping . . . . . . . . . . . . . . . . . . . . . . . . 21
24. Threats This Binding Makes Local . . . . . . . . . . . . . . 21
25. Addressing Potential Technical Concerns . . . . . . . . . . . 21
Das Expires 9 March 2027 [Page 3]
Internet-Draft Tool-Use Binding September 2026
25.1. Distinction from Conventional Middleware and Zero-Trust
Authorization . . . . . . . . . . . . . . . . . . . . . 21
25.2. Closure of Alternative and Legacy Execution Paths . . . 22
25.3. Deterministic Binding of Dynamic Action Arguments . . . 23
25.4. Summary . . . . . . . . . . . . . . . . . . . . . . . . 25
26. Relationship to the DAS Protocols Architecture . . . . . . . 25
27. Implementation Checklist . . . . . . . . . . . . . . . . . . 26
28. Security Considerations . . . . . . . . . . . . . . . . . . . 26
29. Privacy Considerations . . . . . . . . . . . . . . . . . . . 27
30. Informative Host Wrappers . . . . . . . . . . . . . . . . . . 27
30.1. Python . . . . . . . . . . . . . . . . . . . . . . . . . 27
30.2. TypeScript . . . . . . . . . . . . . . . . . . . . . . . 27
31. Reference Implementation, Reproducibility, and Measurement
Scope . . . . . . . . . . . . . . . . . . . . . . . . . . 28
31.1. Implemented Interface Profiles . . . . . . . . . . . . . 29
31.2. Reference Implementation Components . . . . . . . . . . 30
31.3. Versioned Archive . . . . . . . . . . . . . . . . . . . 32
31.4. Reproduction . . . . . . . . . . . . . . . . . . . . . . 32
31.5. Automated Test Coverage . . . . . . . . . . . . . . . . 33
31.6. Demonstration Behaviour . . . . . . . . . . . . . . . . 34
31.7. How the Latency Values Are Produced . . . . . . . . . . 35
31.8. Example Verification Measurement . . . . . . . . . . . . 38
31.9. Important Measurement Boundary . . . . . . . . . . . . . 38
31.10. Hot Path and Cold Path . . . . . . . . . . . . . . . . . 40
31.11. Legacy Integration . . . . . . . . . . . . . . . . . . . 41
31.12. Alternate-Path Limitation . . . . . . . . . . . . . . . 42
31.13. Local Atomicity Limitation . . . . . . . . . . . . . . . 42
31.14. Security and Implementation Limitations . . . . . . . . 43
31.15. Data Limitation . . . . . . . . . . . . . . . . . . . . 44
31.16. Legal and Standards Limitation . . . . . . . . . . . . . 45
31.17. Relationship to the Privacy Finality Reference
Implementation . . . . . . . . . . . . . . . . . . . . 45
31.18. What the Reference Implementation Demonstrates . . . . . 46
32. IANA Considerations . . . . . . . . . . . . . . . . . . . . . 47
33. Intellectual Property Note . . . . . . . . . . . . . . . . . 47
34. Conclusion . . . . . . . . . . . . . . . . . . . . . . . . . 47
35. Normative References . . . . . . . . . . . . . . . . . . . . 48
36. Informative References . . . . . . . . . . . . . . . . . . . 48
Appendix A. Appendix A. Execution-Finality Binding in Compact
Form . . . . . . . . . . . . . . . . . . . . . . . . . . 49
A.1. Core Invariants . . . . . . . . . . . . . . . . . . . . . 50
A.2. DAS Protocols Mothership Context . . . . . . . . . . . . 51
Author's Address . . . . . . . . . . . . . . . . . . . . . . . . 51
1. Introduction
Every hosted agent product converged on the same wire shape:
Das Expires 9 March 2027 [Page 4]
Internet-Draft Tool-Use Binding September 2026
model output
tool_use block: content[type=tool_use] {id, name, input}
tool call array: tool_calls[] {id, function.name, function.arguments}
MCP call: tools/call {name, arguments}
|
v
host.invoke(name, arguments)
|
v
tool_result / function output / MCP result
This document inserts a gate on the middle arrow without asking model
providers to change model cards. The gate is the profile in
[I-D.das-agentic]: wrap the block as an AgentCandidateAct, hold it
non-effective, validate, commit evidence, issue scoped authority,
verify at the dispatch sink, consume, then invoke.
Vendor names are deployment classes. Field names below follow public
tool-use and MCP shapes as of this writing and are informative where
those APIs evolve. The load-bearing contract is the act object, not
a trademark.
2. Why This Binding Is the Lab-Facing Draft
The agentic profile is the architecture. This document is the thing
a runtime engineer can implement on Monday. Labs lose enterprise
deals on a specific sentence: "what happens when the model is
injected and still emits a tool block." Answers that are only "we
train refusal" or "we log the block" are weaker than "invoke() is
unreachable without a consumed authority_id bound to this argument
digest."
That sentence maps onto products customers already buy: Claude for
Work with tools and computer use, ChatGPT Enterprise with actions and
an Agents runtime, and MCP servers wired into both. The binding is
how isolation of action [DAS-ISOLATION] lands in the loop those
products run thousands of times per minute.
For an Anthropic reliability or safety engineer the claim is
mechanical: a tool_use block can exist, be shown in the transcript,
and still leave the world unchanged. Refusal training reduces how
often the block appears. This binding reduces what the block can do
when it appears anyway — including when the model is following a
retrieved instruction it treated as a user turn.
Das Expires 9 March 2027 [Page 5]
Internet-Draft Tool-Use Binding September 2026
For an OpenAI platform or Agents engineer the claim is the same on
tool_calls[] and on Actions HTTP. Schema-valid arguments are not a
capability. Parallel calls are not one capability. An Agents SDK
that owns the loop MUST expose the hook or wrap the tool objects;
otherwise the safest model still has an unguarded invoke.
3. Requirements Language
The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT",
"SHOULD", "SHOULD NOT", "RECOMMENDED", "NOT RECOMMENDED", "MAY", and
"OPTIONAL" in this document are to be interpreted as described in BCP
14 [RFC2119] [RFC8174] when, and only when, they appear in all
capitals, as shown here.
A host that executes a tool block without current dispatch authority
is non-conforming with this binding even if the model vendor's SDK
performed the HTTP call.
4. Problem Space
The host loop is short and trusted by default:
for block in model_output.tool_uses:
result = tools[block.name](**block.input)
append_tool_result(block.id, result)
That loop is correct only if the block is a capability. It is not.
Failures this binding treats as first-class:
* Injected page or ticket text causes tool_use name=email.send to a
new recipient.
* OpenAI function.arguments JSON is valid against the schema and
still pays the wrong vendor (see [I-D.das-payment]).
* MCP server with the same tool name is swapped (T7 in the agentic
profile).
* Computer-use screenshot policy allows clicks; a submit posts a
form the model narrated incorrectly.
* Memory or project write persists a prohibited join for the next
turn [I-D.das-enterprise].
* The host retries invoke() after a timeout and double-executes a
side-effecting tool.
Das Expires 9 March 2027 [Page 6]
Internet-Draft Tool-Use Binding September 2026
5. What Labs Already Ship and What They Do Not Bind
5.1. Anthropic tool_use and Computer Use
tool_use binds a name and an input object to a content block id.
Computer use binds screen actions. System prompts, tool schemas, and
constitutional or policy trained refusal try to stop bad blocks
before they appear. They do not consume single-use authority at
invoke, and they do not hash arguments so an approved search cannot
become a send.
5.2. OpenAI function calling, Responses tools, GPTs
tool_calls bind a function name and a JSON argument string. GPTs
Actions add OpenAPI backends. The Agents runtime adds loops. Schema
validation answers "is this JSON shaped." It does not answer "may
this digest run now at this sink."
5.3. MCP tools/list and tools/call
MCP authenticates a client to a server and names tools. tools/call is
still bearer-like with respect to every call that server will accept
under the session. Server discovery is not act authority
[I-D.das-agentic].
5.4. What This Binding Adds
A deterministic mapping from those three envelopes to
AgentCandidateAct, a host-local enforce() that MUST wrap invoke, and
an error mapping back into tool_result / function output / MCP error
so the model sees a deny rather than a successful side effect.
6. Binding: Anthropic tool_use
Informative source shape:
{
"type": "tool_use",
"id": "toolu_01A",
"name": "email_send",
"input": {
"to": "alice@example.com",
"subject": "Invoice",
"body": "..."
}
}
Mapping MUST be:
Das Expires 9 March 2027 [Page 7]
Internet-Draft Tool-Use Binding September 2026
* candidate_act_id — host-generated, MUST NOT equal toolu_* alone if
that id can be replayed across sessions; MAY incorporate it.
* act_type — TOOL_CALL, or BROWSER_ACTION / COMPUTER_USE when name
is in the computer-use family.
* tool.tool_id and function_id — name.
* tool.tool_protocol — LOCAL_FUNCTION or MCP.
* arguments_digest — hash of JCS(input) or documented canonical
JSON.
* instruction_provenance.source_type — user, retrieval, tool, or
unknown as the host can attest.
* finality_sink.sink_type — TOOL_DISPATCH or BROWSER_CONTROLLER.
On deny, the host MUST append a tool_result for that id whose content
is an error object, not a successful send. On allow, invoke then
append the real result. The model is allowed to recover. The world
is not allowed to change on deny.
6.1. Computer Use
Each consequential action (click, type-submit, file download) is its
own Candidate Act. screenshot and cursor moves MAY be INFORMATIONAL
if they cannot exfiltrate. A submit that posts a form MUST bind a
digest over the live form values, not over the model's text
description of the click. Origin change MUST invalidate prior
authority.
Informative computer-use action names vary by preview API. Treat
left_click, type, and key(Enter) on a focused form as potential
COMMUNICATION or FINANCIAL if the focused origin is a mail, bank, or
admin host. Treat screenshot as DATA_DISCLOSURE when the frame can
contain secrets (password managers, MFA QR, customer PII). A single
"computer use session allow" MUST NOT authorize every later action in
the session.
The live digest SHOULD include origin, destination URL if known, and
a stable serialization of the filled fields. If the controller
cannot read those fields, it MUST escalate or deny rather than click
on narration alone. This is the computer-use form of argument
substitution.
Das Expires 9 March 2027 [Page 8]
Internet-Draft Tool-Use Binding September 2026
7. Binding: OpenAI tool_calls and Responses
Informative source shape:
{
"id": "call_8f3",
"type": "function",
"function": {
"name": "payout_create",
"arguments": "{\"amount\":\"150.00\",\"currency\":\"EUR\",\"beneficiary\":\"vendor-441\"}"
}
}
Mapping MUST parse arguments as JSON, then canonicalize the object,
then hash. Hashing the raw string is allowed only if the host
guarantees one serialization. Two equivalent JSON strings MUST NOT
produce two different authorities that both can run.
function.name maps to tool_id and function_id. Parallel tool_calls[]
are parallel Candidate Acts. Each MUST be enforced separately. A
single ALLOW for the message MUST NOT authorize every call in the
array.
Responses API tool outputs and Assistants tool-output submits are the
same sink moment: before the host runs the function map. GPT Actions
that HTTP POST to a customer API are API_REQUEST acts; destination is
the Action server URL.
8. Binding: MCP tools/call
Informative request:
{
"jsonrpc": "2.0",
"id": 4,
"method": "tools/call",
"params": {
"name": "repo_deploy",
"arguments": { "env": "prod", "ref": "main" }
}
}
The conforming placement is the MCP *client* dispatcher, not each
server. One enforcer sees every server the agent can reach. Server
identity MUST enter destination or tool.tool_endpoint so a swapped
server with the same tool name fails sink or destination match.
Das Expires 9 March 2027 [Page 9]
Internet-Draft Tool-Use Binding September 2026
On deny the client MUST NOT send tools/call, or MUST send it only to
a server that is itself a cooperating sink and will refuse.
Returning an MCP error to the model is required so the loop does not
treat silence as success.
tools/list remains discovery. list results MUST NOT issue
AgentFinalityAuthority.
9. Streaming, Partial Blocks, and Parallel Calls
Both labs stream tokens. A partial tool_use or partial
function.arguments string MUST remain non-effective. enforce() MUST
run only on the finalized block. Invoking on a partial JSON object
is non-conforming.
Parallel tool_calls and multiple tool_use blocks in one assistant
message are independent acts. The host MAY validate them
concurrently. It MUST NOT treat one ALLOW as covering siblings. If
one call is FINANCIAL and one is INFORMATIONAL, only the FINANCIAL
call escalates. A deny on one call MUST NOT be "fixed" by invoking
the others first and hoping the model forgets.
Retries after transport failure MUST reuse the same candidate_act_id
only when the consume bit is unread and the digest is unchanged. If
consume already happened, retry is a new act or a fetch of the
original tool_result, never a second invoke.
10. AgentCandidateAct Schema Recalled for Implementers
The normative schema lives in [I-D.das-agentic]. It is repeated here
so this binding can be implemented from one document on a first
reading.
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "urn:ietf:params:json-schema:agent-finality:candidate-act:1",
"title": "AgentCandidateAct",
"type": "object",
"additionalProperties": false,
"required": [
"version", "object_type", "candidate_act_id", "act_type",
"created_at", "expires_at", "initiating_principal", "agent",
"tool", "purpose", "arguments_digest", "consequence_class",
"policy_state", "freshness", "finality_sink"
],
"properties": {
"act_type": {
"type": "string",
Das Expires 9 March 2027 [Page 10]
Internet-Draft Tool-Use Binding September 2026
"enum": [
"TOOL_CALL", "FUNCTION_CALL", "API_REQUEST",
"BROWSER_ACTION", "SHELL_ACTION", "MESSAGE_SEND",
"FILE_WRITE", "MEMORY_WRITE", "AGENT_DELEGATION",
"PAYMENT_REQUEST", "COMPUTER_USE", "OTHER"
]
},
"tool": {
"type": "object",
"required": ["tool_id", "function_id"],
"properties": {
"tool_id": { "type": "string" },
"function_id": { "type": "string" },
"tool_endpoint": { "type": "string" },
"tool_protocol": {
"type": "string",
"enum": [
"MCP", "HTTP_API", "LOCAL_FUNCTION",
"BROWSER", "SHELL", "A2A",
"ANTHROPIC_TOOL_USE", "OPENAI_TOOL_CALL", "OTHER"
]
}
}
},
"consequence_class": {
"type": "string",
"enum": [
"INFORMATIONAL", "DATA_DISCLOSURE",
"PERSISTENT_STATE_CHANGE", "FINANCIAL",
"NETWORK_CONTROL", "PHYSICAL", "COMMUNICATION", "OTHER"
]
}
}
}
11. Field-by-Field Mapping Tables
11.1. Anthropic tool_use to AgentCandidateAct
type=tool_use → act_type TOOL_CALL. id → incorporated into
candidate_act_id. name → tool_id and function_id. input →
canonicalized into arguments_digest. Host session id →
freshness.session_id. Workspace org → initiating_principal. Model
name from the request → agent.model_id. computer_2025xxxx tools →
act_type COMPUTER_USE and sink BROWSER_CONTROLLER.
Das Expires 9 March 2027 [Page 11]
Internet-Draft Tool-Use Binding September 2026
11.2. OpenAI tool_calls to AgentCandidateAct
id call_* → incorporated into candidate_act_id. type=function →
TOOL_CALL. function.name → tool_id. function.arguments parsed object
→ arguments_digest. Parallel index is not authority; each id is an
act. Responses API function_call items use the same map. Custom GPT
Action operationId MAY populate function_id when name is generic.
11.3. MCP tools/call to AgentCandidateAct
params.name → tool_id. params.arguments → digest. jsonrpc id is not
candidate_act_id (it can collide across servers). Server URL or
server name → tool_endpoint and destination. Protocol MCP. A
notifications/message that asks the host to call a tool is the same
map if the host would invoke.
12. Worked Denies the Labs Will Recognize
{
"scenario": "INJECTED_EMAIL_SEND",
"vendor": "anthropic",
"block": { "name": "email_send", "input": { "to": "attacker@ex.com" } },
"reason": "provenance=retrieval and consequence=COMMUNICATION",
"enforce": { "allow": false, "code": "EF_INSTRUCTION_PROVENANCE_FAILURE" },
"invoked": false,
"tool_result": { "is_error": true }
}
{
"scenario": "PARALLEL_PAY_AND_SEARCH",
"vendor": "openai",
"tool_calls": [
{ "name": "search", "result": "enforce_hot_allow" },
{ "name": "payout_create", "result": "enforce_deny_envelope" }
],
"rule": "search invoke does not authorize payout invoke"
}
{
"scenario": "MCP_SERVER_SWAP",
"name": "repo_deploy",
"authorized_endpoint": "mcp://git.example/prod",
"live_endpoint": "mcp://git.attacker/prod",
"enforce": { "allow": false, "code": "EF_DESTINATION_MISMATCH" }
}
Das Expires 9 March 2027 [Page 12]
Internet-Draft Tool-Use Binding September 2026
{
"scenario": "COMPUTER_USE_ORIGIN_CHANGE",
"authorized_origin": "https://pay.example/checkout",
"live_origin": "https://pay.example-evil/checkout",
"enforce": { "allow": false, "code": "EF_DESTINATION_MISMATCH" }
}
13. Where to Put the Hook in Shipping Runtimes
Anthropic Messages API: after the application assembles content
blocks, before the developer function table runs. Computer-use beta:
inside the controller that turns action items into OS events, before
the event is sent.
OpenAI Chat Completions: after tool_calls is parsed, before the
function map. Assistants API: before submitting tool outputs that
the host computed by running code. Responses API: before executing
function_call items. Agents SDK: a before_tool_call callback if
present; otherwise wrap the tool implementation objects the SDK
receives.
MCP TypeScript and Python reference clients: wrap Client.callTool.
IDE agents that embed MCP (desktop hosts) wrap the same method so
every server inherits the gate.
14. Host-Loop Workflow
1. Receive model output or MCP request.
2. For each tool block, parse name and arguments.
3. Canonicalize arguments. Compute arguments_digest.
4. Build AgentCandidateAct [I-D.das-agentic].
5. HOLD_NON_EFFECTIVE.
6. PED_VALIDATE (local hot path or escalate).
7. Commit evidence. Issue authority.
8. DISPATCH_SINK_INVOKE: verify live digest, sink, epochs, consume.
9. Only then call the vendor SDK, local function, or MCP transport.
10. Map deny to the vendor error shape. Do not invoke on timeout.
Das Expires 9 March 2027 [Page 13]
Internet-Draft Tool-Use Binding September 2026
15. Reference Host Loop
function HANDLE_ANTHROPIC_MESSAGE(msg, ctx):
for block in msg.content where block.type == "tool_use":
act = map_tool_use(block, ctx)
decision = enforce(act, block.input)
if decision.allow:
raw = invoke(block.name, block.input)
append_tool_result(block.id, raw)
else:
append_tool_result(block.id, {
"error": decision.code,
"message": decision.message
})
function HANDLE_OPENAI_MESSAGE(msg, ctx):
for call in msg.tool_calls:
args = parse_json(call.function.arguments)
act = map_tool_call(call, args, ctx)
decision = enforce(act, args)
if decision.allow:
raw = invoke(call.function.name, args)
append_tool_output(call.id, raw)
else:
append_tool_output(call.id, error_payload(decision))
function HANDLE_MCP_TOOLS_CALL(req, ctx):
act = map_mcp(req, ctx)
decision = enforce(act, req.params.arguments)
if not decision.allow:
return mcp_error(decision)
return transport_tools_call(req)
16. enforce() Contract
A library advertised as implementing this binding MUST expose a
function with this behavior, regardless of language:
enforce(act: AgentCandidateAct, live_args: object) ->
{ allow: bool, authority_id?: string, code?: string, message?: string }
# MUST:
# 1. hash live_args with the same canonicalization as act.arguments_digest
# 2. refuse if hashes differ
# 3. refuse if authority missing, expired, consumed, or sink-mismatched
# 4. consume single-use authority before returning allow=true
# 5. never return allow=true on timeout or uncertain epoch
Das Expires 9 March 2027 [Page 14]
Internet-Draft Tool-Use Binding September 2026
Returning allow=true and then failing to consume is non-conforming.
Logging a deny and invoking anyway is non-conforming.
17. JSON Objects Used on the Wire
The Candidate Act schema is [I-D.das-agentic]. This binding adds
only mapped examples and the host error object.
17.1. Mapped Claude Block
Das Expires 9 March 2027 [Page 15]
Internet-Draft Tool-Use Binding September 2026
{
"version": "1.0",
"object_type": "agent_candidate_act",
"candidate_act_id": "act-toolu-01A-sess55",
"act_type": "TOOL_CALL",
"agent": {
"agent_id": "claude-work-seat-12",
"runtime_id": "anthropic-host-loop",
"model_id": "claude-family",
"delegation_depth": 0
},
"tool": {
"tool_id": "email_send",
"function_id": "email_send",
"tool_protocol": "LOCAL_FUNCTION"
},
"purpose": {
"purpose_id": "user-turn",
"declared_purpose": "send invoice email"
},
"arguments_digest": {
"algorithm": "SHA-256",
"value": "base64url-args",
"canonicalization": "JCS"
},
"destination": { "destination_id": "smtp-gw-1" },
"consequence_class": "COMMUNICATION",
"policy_state": {
"policy_epoch": 9,
"authority_epoch": 3,
"revocation_epoch": 1
},
"freshness": { "nonce": "C0FFEE11DEADBEEF" },
"instruction_provenance": { "source_type": "user" },
"finality_sink": {
"sink_id": "host-dispatch-1",
"sink_type": "TOOL_DISPATCH"
}
}
17.2. Mapped OpenAI Payout Call
Das Expires 9 March 2027 [Page 16]
Internet-Draft Tool-Use Binding September 2026
{
"object_type": "agent_candidate_act",
"act_type": "TOOL_CALL",
"tool": {
"tool_id": "payout_create",
"function_id": "payout_create",
"tool_protocol": "HTTP_API"
},
"arguments_digest": {
"algorithm": "SHA-256",
"value": "base64url-args",
"canonicalization": "JCS"
},
"consequence_class": "FINANCIAL",
"destination": { "destination_id": "psp.example" },
"finality_sink": {
"sink_id": "host-dispatch-1",
"sink_type": "TOOL_DISPATCH"
}
}
If the handler would move funds, a PaymentCandidateAct from
[I-D.das-payment] MUST also be enforced before the PSP SDK.
17.3. Host Deny Payload Back to the Model
{
"error": {
"code": "EF_SCOPE_MISMATCH",
"message": "Live arguments are not the authorized digest.",
"retryable": false,
"invoked": false
}
}
17.4. Complete Claude Turn
Das Expires 9 March 2027 [Page 17]
Internet-Draft Tool-Use Binding September 2026
{
"step_1_block": {
"type": "tool_use",
"name": "maps_search",
"status": "NON_EFFECTIVE"
},
"step_2_enforce": {
"allow": true,
"authority_id": "afa-c7d32d54",
"consumed": true
},
"step_3_invoke": { "tool": "maps_search", "once": true },
"step_4_tool_result": { "id": "toolu_01A", "ok": true }
}
18. Practical Feasibility: Latency and Legacy Loops
18.1. Do Not Change the Model
The binding is host-side. No tokenizer change, no tool-schema
change, no fine-tune is required for v1. That is why a lab can trial
this on one enterprise workspace without a model release.
18.2. Latency Budget
Tool loops are already dominated by the model forward pass and the
tool I/O. enforce() on the hot path is: canonicalize JSON, SHA-256,
MAC or signature verify, compare-and-swap on a consume row.
Representative added cost is sub-millisecond to a few milliseconds on
the same host — negligible next to a 200-2000 ms model call. Cold
path (new tool, unknown destination, FINANCIAL class, unknown
provenance) MAY add a policy fetch. Timeout of that fetch MUST deny,
not invoke.
18.3. Legacy Host Loops
Existing OpenAI and Anthropic examples are ten-line for-loops. The
feasible change is wrapping invoke, not rewriting the product. A
feature flag "enforce_tools=true" on a workspace is a conforming
pilot. Workspaces left on false are known alternate paths and MUST
be listed if they can reach the same side-effecting tools.
SDKs that invoke tools internally (some Agents runtimes) MUST expose
a pre-invoke hook or MUST be wrapped at the HTTP client that talks to
the tool backend. If neither hook exists, the deployment cannot
claim this binding for those tools.
Das Expires 9 March 2027 [Page 18]
Internet-Draft Tool-Use Binding September 2026
18.4. MCP Without Server Changes
Servers can stay unmodified if the client enforcer is in-line.
Cooperating servers MAY later verify the authority object themselves.
That is an enhancement, not a v1 requirement. Flag-day replacement
of every MCP server is not required and not recommended.
18.5. Computer Use Without a New Browser
The sink is the existing controller process that issues clicks.
Digest the live DOM or form state you already read to click. If you
cannot digest the live values, those submits MUST be treated as cold
path or denied. Do not invent a second browser.
18.6. What This Binding Does Not Require
It does not require a TEE on day one. It does not require vaults
from [I-D.das-enterprise] on day one. It does not require Anthropic
or OpenAI to accept a patch. It requires the host that already runs
the loop to stop treating the block as a capability.
19. How Labs and Customers Use It
19.1. Anthropic-Class Workspace
Enable enforce() on tools marked COMMUNICATION, FINANCIAL,
PERSISTENT_STATE_CHANGE, or computer-use submit. Leave maps.search
on a hot envelope. Measure denies that would have been sends. That
metric is the procurement answer.
19.2. OpenAI-Class Workspace
Same split for Actions and function tools. Memory writes go through
enforce() as MEMORY_WRITE. Share-chat and file export are Output
Release Boundaries under [I-D.das-enterprise] when the content is a
reconstructed view; they are still tool-shaped if implemented as
tools.
19.3. Platform Customers
A bank or hospital that cannot wait for a vendor-native hook wraps
the tool handlers they wrote. That is enough for tools they own.
Tools the vendor invokes inside a black box remain an alternate path
until the vendor exposes the hook.
Das Expires 9 March 2027 [Page 19]
Internet-Draft Tool-Use Binding September 2026
20. Default Consequence Classes for Common Tools
Hosts SHOULD assign consequence_class before enforce(), not after the
model names the tool. Informative defaults:
* search, retrieve, get_weather — INFORMATIONAL
* email_send, slack_post, tweet — COMMUNICATION
* file_write, db_update, memory_write, ticket_create —
PERSISTENT_STATE_CHANGE
* payout, refund, capture, wire — FINANCIAL (also [I-D.das-payment])
* deploy, kubectl, iam_attach — PERSISTENT_STATE_CHANGE or
NETWORK_CONTROL
* computer_use submit, browser_navigate to new origin —
DATA_DISCLOSURE or COMMUNICATION depending on the form
* shell / bash — at least PERSISTENT_STATE_CHANGE; treat as cold
path unless the envelope names the exact binary
Misclassifying payout as INFORMATIONAL is a profile failure, not a
model failure.
21. Memory, Projects, and Persistent Notes
Claude projects and ChatGPT memory are tool- shaped even when they
are not named tools. A host that writes extracted facts into a
memory store MUST treat that write as MEMORY_WRITE. Otherwise an
injected turn stores a join that later turns treat as user
provenance. That is how present theft becomes future mapping without
another tool_use [DAS-ISOLATION].
22. Conformance Tests a Lab Can Run Overnight
T-A: emit tool_use email_send to an address not in the user turn;
expect invoke=false. T-B: two OpenAI tool_calls, search and payout;
expect payout denied when above envelope. T-C: replay the same
authority_id on a second invoke; expect deny. T-D: MCP call with
swapped server URL; expect destination deny. T-E: computer-use
submit after origin change; expect deny. T-F: measure enforce() p99
under 10 ms on hot search. T-G: kill the host after consume and
before invoke; on restart do not invoke again.
A workspace that passes T-A through T-G can be shown to an enterprise
security review without a new model checkpoint.
Das Expires 9 March 2027 [Page 20]
Internet-Draft Tool-Use Binding September 2026
23. Error Mapping
EF codes from [I-D.das-agentic] SHOULD be copied into the vendor
error payload as machine-readable strings. retryable=true only for
EF-060 timeout where policy allows a bounded retry of *validation*,
never a retry that skips enforce(). Models that respond to deny by
emitting a different tool_use are starting a new Candidate Act. That
is expected.
24. Threats This Binding Makes Local
* T1 Direct prompt injection → extra tool_use
* T2 Indirect injection in retrieved files
* T6 Tool name confusion / substitution
* T7 MCP server substitution
* T14 Replay of a previous tool block id
* T17 Alternate path: raw HTTP next to the SDK
* T18 Computer-use submit around API tools
Threats that need the enterprise profile (join of identity and
content) are out of scope here except as provenance=unknown plus high
consequence_class → escalate.
25. Addressing Potential Technical Concerns
25.1. Distinction from Conventional Middleware and Zero-Trust
Authorization
The architecture should not be understood merely as intercepting an
untrusted AI-generated string and checking permissions before a
software function executes.
Conventional middleware, API gateways, reference monitors, policy-
enforcement points, and zero-trust systems can already perform
authorization before an API call or resource access.
The execution-finality model addresses a different architectural
problem: generation of an action is separated from authority to make
that action externally effective.
Das Expires 9 March 2027 [Page 21]
Internet-Draft Tool-Use Binding September 2026
A model, agent, application, or tool-orchestration layer may compute
or propose an action, but that proposed action is represented as a
Candidate Act and remains in a Non-Effective State until the required
validation conditions are satisfied.
Validation establishes protected evidence or authorization state
associated with the load-bearing attributes of that Candidate Act,
which may include the requested operation, arguments, destination,
execution context, authorization scope, policy state, and other
relevant parameters.
The important point is that approval at an upstream middleware layer
does not itself constitute final authority for the external effect.
Before the requested consequence becomes externally effective, the
relevant Finality Sink or effectuation boundary verifies the required
authorization state for the Candidate Act being presented for
effectuation.
The security model is therefore not simply:
check permission -> execute tool
but rather:
Candidate Act
-> Non-Effective State
-> protected validation and act-specific binding
-> scoped execution authority
-> Finality Sink verification
-> externally effective consequence
The technical distinction is therefore the separation between
computation, authorization, and effectuation, together with
verification at the boundary where the external effect would actually
occur.
25.2. Closure of Alternative and Legacy Execution Paths
An execution-finality architecture is only meaningful if the
protected consequence cannot be reached through an ungoverned
alternative path.
An application-level enforce() function may therefore be one
implementation interface, but it should not itself be treated as the
ultimate security boundary.
Das Expires 9 March 2027 [Page 22]
Internet-Draft Tool-Use Binding September 2026
For protected operations, execution paths capable of producing the
same externally effective consequence should converge upon, or
otherwise remain subordinate to, the protected finality-enforcement
boundary.
Relevant paths may include:
* direct API or SDK invocation;
* legacy interfaces;
* plugin or tool-router paths;
* inter-process communication;
* subprocess execution;
* cached or delegated credentials;
* agent-to-agent delegation;
* operating-system service calls;
* alternate network interfaces;
* retries or replay paths; and
* other implementation-specific mechanisms capable of reaching the
same protected resource or external effect.
If the required authorization or validation state cannot be verified
at the relevant effectuation boundary, the operation remains non-
effective and the system fails closed.
The resulting security invariant is:
| No protected externally effective consequence should occur through
| an alternate execution path merely because that path bypassed the
| original middleware or orchestration layer.
This anti-bypass property is a core requirement of the execution-
finality model rather than an optional application-level policy
convention.
25.3. Deterministic Binding of Dynamic Action Arguments
The architecture does not require hashing the literal JSON string
emitted by an AI system.
Das Expires 9 March 2027 [Page 23]
Internet-Draft Tool-Use Binding September 2026
Raw serialization is unsuitable for action binding because equivalent
structured data can have different byte representations due to
property order, whitespace, encoding choices, or other formatting
differences.
Instead, the system can derive an arguments_digest, commitment, or
equivalent binding value from a deterministic representation of the
load-bearing attributes of the Candidate Act.
Depending upon the protocol and schema, this process may include:
* deterministic field ordering;
* defined representation of numbers and Boolean values;
* deterministic character encoding;
* defined treatment of absent, empty, and null values;
* exclusion of non-semantic formatting;
* explicit field typing;
* schema-defined normalization rules; and
* deterministic encoding before digest generation.
For example, the following two JSON serializations may represent the
same Candidate Act:
{"amount":100,"currency":"USD"}
{"currency":"USD","amount":100}
A deterministic representation allows both forms to produce the same
Candidate-Act commitment where their semantics are equivalent.
At the same time, normalization must remain semantics-preserving.
Values should not be collapsed merely because they appear
superficially similar. For example, a string value and a numeric
value should only be treated as equivalent where the applicable
schema explicitly defines that equivalence.
The architectural requirement is therefore broader than any
particular JSON representation:
Das Expires 9 March 2027 [Page 24]
Internet-Draft Tool-Use Binding September 2026
load-bearing Candidate Act attributes
-> deterministic representation
-> Candidate-Act commitment
This approach can be applied to JSON, CBOR, Protocol Buffers, MCP
messages, operating-system calls, payment instructions, database
operations, robotic commands, or other structured action
representations.
The purpose of the commitment is not merely transport-integrity
checking. It is to ensure that the action presented at the
effectuation boundary corresponds to the action state that was
actually validated.
25.4. Summary
The execution-finality model is not intended to replace conventional
authentication, authorization, zero-trust policy, or middleware
controls.
Those mechanisms may remain upstream inputs to the decision process.
The additional architectural property is that computation does not
itself create effectuation authority; a Candidate Act remains non-
effective until validated; the validated action state is bound to the
relevant execution authority; and the Finality Sink verifies that
state before permitting the externally effective consequence.
This provides a distinct system-level enforcement boundary for AI
agents, tool-use systems, autonomous software, and other environments
in which generating or approving an action should not automatically
make that action externally effective.
26. Relationship to the DAS Protocols Architecture
This document is a protocol-facing profile of a broader execution-
finality architecture developed in the DAS Protocols work. The
broader architecture describes a recurring separation between
computation of a proposed act, protected validation of the act,
issuance or establishment of scoped finality authority, and
verification at a Finality Sink before an external consequence
becomes effective.
The large foundational disclosure referred to by the author as the
DAS Protocols "Mothership" is PCT/IB2026/055615, published as WO
2026/150382. That disclosure covers a substantially wider set of
execution-finality embodiments, including AI infrastructure,
telecommunications, device and operating-system enforcement,
Das Expires 9 March 2027 [Page 25]
Internet-Draft Tool-Use Binding September 2026
protected execution, and other externally effective systems. This
Internet-Draft intentionally addresses a much narrower
interoperability problem: binding existing AI tool-use and MCP-style
dispatch interfaces to an execution-finality boundary.
The terminology used here, including Candidate Act, Non-Effective
State, protected validation, scoped execution authority, and Finality
Sink, should therefore be read as a compact protocol profile rather
than as an attempt to reproduce the full DAS Protocols disclosure.
This background statement is informative. It does not make
implementation of unrelated DAS Protocols embodiments a requirement
for conformance with this Internet-Draft. Any IETF intellectual-
property disclosure obligations are handled separately under BCP 79
[RFC8179].
27. Implementation Checklist
1. Every side-effecting tool handler is reachable only through
enforce() or an equivalent protected finality-enforcement
boundary.
2. arguments_digest or equivalent commitment is over a deterministic
representation of the load-bearing Candidate Act attributes, not
over the model's prose.
3. Parallel tool_calls are separate acts.
4. Deny returns an error block; invoked is false.
5. Timeout does not invoke.
6. MCP client, not only servers, runs enforce().
7. Computer-use submit has a live-value digest.
8. p99 added latency of enforce() is measured.
9. Tools the vendor invokes without a hook are listed as open
alternate paths.
28. Security Considerations
If enforce() runs in the same process as a fully compromised host
that can also call the tool backend directly, the binding is only as
strong as alternate-path closure. Production hosts SHOULD block raw
credentials from application code paths that skip enforce(), or
SHOULD put the sink in a sidecar that owns the tool credentials.
Das Expires 9 March 2027 [Page 26]
Internet-Draft Tool-Use Binding September 2026
Model-visible deny messages MUST NOT leak other users' data. They
MAY name the EF code.
29. Privacy Considerations
Argument objects often contain recipients and PII. Logs SHOULD store
digests, not raw arguments, once enforce() has run. Mapping layers
MUST NOT write full tool input to a shared debug bus by default.
30. Informative Host Wrappers
The following sketches are informative. They exist so a lab or
customer engineer can see that the binding is a wrap of invoke, not a
new assistant protocol.
30.1. Python
def enforce(act, live_args, store, sink_id):
live = digest(canonicalize(live_args))
if live != act["arguments_digest"]["value"]:
return Deny("EF_SCOPE_MISMATCH")
auth = store.get(act["candidate_act_id"])
if not auth or auth.consumed or auth.expired():
return Deny("EF_002")
if auth.sink_id != sink_id:
return Deny("EF_040")
if not store.consume_cas(auth.authority_id):
return Deny("EF_005")
return Allow(auth.authority_id)
def handle_tool_use(block, ctx):
act = map_tool_use(block, ctx)
decision = enforce(act, block["input"], ctx.store, ctx.sink_id)
if not decision.allow:
return {"error": decision.code, "invoked": False}
return invoke(block["name"], block["input"])
30.2. TypeScript
Das Expires 9 March 2027 [Page 27]
Internet-Draft Tool-Use Binding September 2026
async function enforce(act: Act, live: object, store: Store, sink: string) {
const d = digest(canonicalize(live));
if (d !== act.arguments_digest.value) return deny("EF_SCOPE_MISMATCH");
const auth = await store.get(act.candidate_act_id);
if (!auth || auth.consumed || auth.expired()) return deny("EF_002");
if (auth.sink_id !== sink) return deny("EF_040");
const ok = await store.consumeCAS(auth.authority_id);
if (!ok) return deny("EF_005");
return allow(auth.authority_id);
}
async function onOpenAIToolCalls(calls: ToolCall[], ctx: Ctx) {
const out = [];
for (const c of calls) {
const args = JSON.parse(c.function.arguments);
const act = mapToolCall(c, args, ctx);
const d = await enforce(act, args, ctx.store, ctx.sink);
out.push(d.allow
? await invoke(c.function.name, args)
: { error: d.code, invoked: false });
}
return out;
}
These functions are the entire v1 product surface. Vaults, TEEs, and
RAOs can wrap later. If invoke is reachable without enforce, the
sketches are documentation, not a binding.
31. Reference Implementation, Reproducibility, and Measurement Scope
A public reference implementation of the execution-finality binding
described in this document is available at:
https://github.com/sangmdas/tool_use-Is-Not-invoke-Binding-Execution-
Finality-to-Agentic-Tool-Call-Interfaces-and-MCP
The implementation is intended to make the protocol mechanics
independently inspectable and executable. It is not a simulation
expressed only as pseudocode or architectural prose. It provides
executable Python components for mapping representative agentic tool-
call envelopes into Candidate Acts, validating those Candidate Acts,
issuing act-bound authority, verifying workload proof-of-possession,
enforcing single-use consumption, and preventing invoke() from being
reached until the Finality Sink accepts the live act.
The implementation is deliberately small enough that an independent
reviewer can inspect the complete enforcement path.
Das Expires 9 March 2027 [Page 28]
Internet-Draft Tool-Use Binding September 2026
Conceptually, the implemented path is:
model / agent output
|
v
tool_use / tool_calls / tools/call
|
v
AgentCandidateAct
|
v
NON-EFFECTIVE STATE
|
v
configured validation
|
v
act-bound scoped authority
|
v
workload proof-of-possession
|
v
Finality Sink verification
|
v
single-use authority consumption
|
v
invoke()
The important property demonstrated by the implementation is that
generation of a syntactically valid tool request is not itself
authority for the requested operation to become externally effective.
31.1. Implemented Interface Profiles
Version 0.1.0 contains representative adapters for:
* Anthropic-style tool_use;
* OpenAI-style function/tool-call envelopes;
* MCP tools/call; and
* computer-use actions in which the live origin and action state are
included in the Candidate-Act binding.
Das Expires 9 March 2027 [Page 29]
Internet-Draft Tool-Use Binding September 2026
These adapters do not depend upon access to a live commercial model
or vendor account. They model the relevant public message shapes and
place the execution-finality enforcement point in the host-side
dispatch path.
For example, an OpenAI-style function argument object is parsed into
structured data before the Candidate-Act digest is calculated. An
MCP Candidate Act additionally binds the intended server endpoint so
that an otherwise identical tools/call presented to another MCP
server can be rejected at the effectuation boundary.
The implementation therefore tests the protocol-facing invariant
rather than the behaviour of any particular model vendor.
31.2. Reference Implementation Components
The implementation contains separate components for:
Das Expires 9 March 2027 [Page 30]
Internet-Draft Tool-Use Binding September 2026
adapters.py
mapping tool-call envelopes into Candidate Acts
canonical.py
deterministic serialization and SHA-256 argument binding
policy.py
configured validation predicates
authority.py
issuance of scoped Candidate-Act authority
crypto.py
authority authentication and workload proof-of-possession
replay_store.py
atomic local single-use authority consumption
sink.py
independent Finality Sink verification
dispatcher.py
host-loop sequencing and guarded invoke()
demo.py
reproducible synthetic execution examples
test_agentic_binding.py
automated conformance-oriented tests
benchmark.py
local execution-overhead measurements
The decomposition is intentional. It allows an implementer to
replace individual mechanisms without changing the architectural
requirement.
For example, HMAC is used in this reference package because it makes
the implementation compact and reproducible. HMAC is not a protocol
requirement. A production implementation could instead use
asymmetric signatures, hardware-protected keys, a TEE, an HSM, a
protected operating-system service, a workload identity mechanism, or
another suitable cryptographic construction.
Likewise, the local SQLite replay store is an implementation
mechanism for demonstrating atomic single-use consumption. SQLite is
not a protocol requirement.
Das Expires 9 March 2027 [Page 31]
Internet-Draft Tool-Use Binding September 2026
31.3. Versioned Archive
For reproducibility, the same implementation is packaged as the
versioned archive:
agentic-tool-binding-reference-v0.1.0-final.tar.gz
The SHA-256 digest of the generated archive is:
ad6acf51d17a9c22168f62f547f0be9888a5b7f94f278d67e23a05584fcb07b3
The archive was created directly from the reference-implementation
source tree after removing generated Python cache material.
In particular, the archive excludes:
__pycache__/
*.pyc
.pytest_cache/
and includes the source code, tests, test vectors, benchmark, README,
notice, license, package metadata, and .gitignore.
The tar archive is therefore a convenience snapshot of the source
tree, rather than a separate implementation.
Its purpose is to allow a reviewer to retain or cite a fixed set of
bytes even if the GitHub main branch subsequently evolves.
The SHA-256 value is a digest of the compressed .tar.gz archive
itself. It is not an execution-finality authorization value,
Candidate-Act digest, security proof, or patent identifier. Its only
purpose is archive-integrity and reproducibility.
A reviewer downloading the same archive can independently calculate:
SHA-256(
agentic-tool-binding-reference-v0.1.0-final.tar.gz
)
and compare the result with the published value above.
31.4. Reproduction
A reviewer may reproduce the implementation directly from GitHub.
For example:
Das Expires 9 March 2027 [Page 32]
Internet-Draft Tool-Use Binding September 2026
git clone https://github.com/sangmdas/tool_use-Is-Not-invoke-Binding-Execution-Finality-to-Agentic-Tool-Call-Interfaces-and-MCP.git
The supplied test suite can then be executed with pytest, the
demonstration can be executed through the package's demo module, and
the local benchmark can be executed separately.
The implementation does not require:
* a GPU;
* a CUDA environment;
* a hosted AI model;
* an Anthropic API key;
* an OpenAI API key;
* a production MCP server;
* a payment service;
* a production database;
* real customer data; or
* access to the author's computer.
All example data are synthetic.
31.5. Automated Test Coverage
The supplied v0.1.0 suite contains ten tests.
They exercise, among other cases:
1. an authorized Anthropic-style email operation that reaches
invoke() exactly once;
2. modification of the arguments after authority issuance;
3. reuse of an already consumed authority;
4. substitution of an MCP server endpoint;
5. presentation at the wrong Finality Sink;
Das Expires 9 March 2027 [Page 33]
Internet-Draft Tool-Use Binding September 2026
6. independent treatment of parallel search and payment Candidate
Acts;
7. a communication act originating from retrieved/injected content;
8. deterministic digesting of semantically equivalent JSON objects
having different property order;
9. computer-use submission after a change of origin; and
10. invalidation caused by a change of policy epoch.
A verification run of the final archive produced:
10 passed
The important test property is not merely that the enforcer emits a
DENY result. In the negative cases the supplied fake effect function
is not invoked.
This distinguishes:
log violation -> execute anyway
from:
validation failure -> no effect
31.6. Demonstration Behaviour
The included demonstration exercises representative Anthropic-style,
OpenAI-style, and MCP-style messages.
Representative outcomes include:
Das Expires 9 March 2027 [Page 34]
Internet-Draft Tool-Use Binding September 2026
ANTHROPIC_ALLOWED_EMAIL
-> ALLOW
-> invoke()
INJECTED_EMAIL_DENIED
-> DENY
-> invoked = false
OPENAI_ALLOWED_PAYOUT
-> ALLOW for configured synthetic beneficiary
-> invoke()
MCP_ALLOWED_ENDPOINT
-> ALLOW for the bound synthetic endpoint
-> invoke()
These are synthetic test cases. No email is actually sent, no money
is transferred, no repository is deployed, and no external MCP server
is contacted.
The synthetic invoke() function records or returns a local result so
that the control-flow property can be observed without creating a
real-world consequence.
31.7. How the Latency Values Are Produced
The repository also contains a local benchmark:
bench/benchmark.py
The benchmark performs 500 iterations by default.
Each iteration constructs a fresh local reference stack and measures
two principal intervals using Python's high-resolution
time.perf_counter_ns() clock.
The first interval measures the local authorization operation:
Das Expires 9 March 2027 [Page 35]
Internet-Draft Tool-Use Binding September 2026
start
|
v
verify live argument digest
|
v
configured policy validation
|
v
construct act-bound authority
|
v
authenticate authority
|
v
end
The second interval measures:
Das Expires 9 March 2027 [Page 36]
Internet-Draft Tool-Use Binding September 2026
Finality Sink entry
|
v
recalculate live argument digest
|
v
expiry checks
|
v
Candidate-Act binding check
|
v
tool binding
|
v
sink binding
|
v
destination binding
|
v
policy / authority / revocation epoch checks
|
v
authority authentication
|
v
workload proof-of-possession verification
|
v
atomic single-use consumption
|
v
local synthetic invoke()
The benchmark records each measured duration in nanoseconds, converts
the observations into microseconds, orders the collected
measurements, and reports median, p95, and p99.
The median represents the midpoint of the observed local
measurements.
The p95 value represents approximately the point below which 95
percent of the measured iterations fall.
The p99 value represents approximately the point below which 99
percent of the measured iterations fall.
Das Expires 9 March 2027 [Page 37]
Internet-Draft Tool-Use Binding September 2026
These values are therefore calculated from observed execution times;
they are not configured constants and are not predicted values.
31.8. Example Verification Measurement
One verification run of the final v0.1.0 archive in a Linux
environment using Python 3.13.5 produced:
iterations = 500
authorization:
median = 23.14 microseconds
p95 = 32.68 microseconds
p99 = 91.98 microseconds
Finality Sink verification +
single-use consumption +
local synthetic invoke:
median = 41.41 microseconds
p95 = 70.65 microseconds
p99 = 125.37 microseconds
combined measured local path:
median = 64.92 microseconds
p95 = 111.44 microseconds
p99 = 176.74 microseconds
These figures should be treated only as one reproducible reference-
code observation.
They do not mean that an execution-finality deployment universally
adds approximately 65 microseconds.
Another machine, operating system, Python runtime, cryptographic
implementation, database, concurrency level, storage subsystem, or
deployment topology can produce materially different results.
Independent reviewers are therefore encouraged to run the supplied
benchmark on their own systems and report their own environment
together with p50/median, p95, and p99 values.
31.9. Important Measurement Boundary
The benchmark deliberately measures only a local enforcement path.
It does not include:
* AI-model inference time;
Das Expires 9 March 2027 [Page 38]
Internet-Draft Tool-Use Binding September 2026
* network round trips;
* actual HTTP tool execution;
* MCP network transport;
* real email transmission;
* real payment settlement;
* remote policy retrieval;
* remote attestation;
* remote HSM access;
* cross-region communication;
* human approval;
* distributed consensus;
* database replication;
* production logging;
* production service queues; or
* external destination acknowledgement.
The initial vendor-envelope-to-Candidate-Act mapping is also
performed before the principal benchmark timer begins.
The reported combined hot-path value therefore characterizes the
supplied local enforcement operations, not an end-to-end AI-agent
transaction.
In particular, the synthetic invoke() used by the benchmark is
deliberately trivial. It does not model the latency of the actual
external tool.
Accordingly:
measured local finality overhead
!=
end-to-end tool latency
and:
Das Expires 9 March 2027 [Page 39]
Internet-Draft Tool-Use Binding September 2026
one-machine microbenchmark
!=
protocol-wide performance guarantee
31.10. Hot Path and Cold Path
The reference implementation also illustrates why execution-finality
need not place every governance operation on every tool invocation.
A deployment may perform relatively stable operations on a cold path,
including:
* policy definition;
* tool registration;
* destination registration;
* identity enrollment;
* workload enrollment;
* key establishment;
* attestation establishment;
* risk classification; and
* trust configuration.
The effectuation hot path may then be limited to load-bearing current
state, for example:
* Candidate-Act digest;
* live arguments;
* destination;
* sink identity;
* policy epoch;
* revocation epoch;
* expiry;
* nonce;
Das Expires 9 March 2027 [Page 40]
Internet-Draft Tool-Use Binding September 2026
* workload proof; and
* single-use consumption.
This separation is an implementation technique rather than a protocol
requirement, but it allows expensive configuration and trust-
establishment operations to remain outside ordinary tool dispatch
where appropriate.
31.11. Legacy Integration
The reference implementation does not require modification of model
weights, tokenizers, or model training.
It models the enforcement component as a wrapper around the dispatch
boundary already present in an agent host.
A legacy deployment can therefore resemble:
existing AI model
|
v
existing tool-call envelope
|
v
execution-finality wrapper
|
v
existing tool / SDK / MCP transport
Potential enforcement placements include:
* host tool dispatcher;
* MCP client dispatcher;
* API gateway;
* sidecar;
* reverse proxy;
* service mesh;
* database commit proxy;
* payment gateway;
Das Expires 9 March 2027 [Page 41]
Internet-Draft Tool-Use Binding September 2026
* message gateway;
* browser controller;
* operating-system mediator; or
* network egress boundary.
The implementation is therefore intended to demonstrate that an
initial pilot does not necessarily require replacing the model or
rewriting every downstream server.
31.12. Alternate-Path Limitation
Legacy compatibility does not eliminate the requirement to close
bypass paths.
For example:
+-----> direct tool credential -----> effect
|
agent host ------+
|
+-----> Finality Sink -------------> effect
does not establish execution-finality for that effect.
If the host can reach the same protected backend through raw
credentials, direct HTTP, another SDK, an unwrapped plugin, a
subprocess, an alternate MCP client, browser automation, or another
route that bypasses the Finality Sink, the security property is
limited by that alternate path.
Production deployment therefore requires the relevant consequential
paths to converge upon, or remain subordinate to, the effectuation
boundary.
The reference implementation demonstrates the guarded path. It does
not prove that every possible path in an arbitrary production
environment has been closed.
31.13. Local Atomicity Limitation
The included SQLite store atomically records consumption of the local
authority identifier.
This demonstrates:
Das Expires 9 March 2027 [Page 42]
Internet-Draft Tool-Use Binding September 2026
authority not consumed
|
v
atomic consume
|
v
second use rejected
It does not make the local database transaction atomic with an
arbitrary remote consequence.
For example:
consume local authority
|
X process/network failure
|
remote payment or HTTP effect
requires additional production engineering.
Depending upon the protected consequence, a deployment may require
mechanisms such as:
* destination-side Finality Sink verification;
* idempotency keys;
* transactional outbox;
* release credentials;
* two-phase or coordinated commit;
* effect receipts;
* protected delivery acknowledgements; or
* application-specific recovery semantics.
Those mechanisms are outside the minimal v0.1.0 reference
implementation.
31.14. Security and Implementation Limitations
Version 0.1.0 should be understood as a protocol reference
implementation, not a production security product.
Das Expires 9 March 2027 [Page 43]
Internet-Draft Tool-Use Binding September 2026
It does not claim to provide:
* TEE isolation;
* HSM-protected production keys;
* hardware-rooted attestation;
* production PKI;
* production secret management;
* formal verification;
* side-channel resistance;
* distributed high availability;
* universal bypass prevention;
* production network isolation;
* production vendor integrations;
* penetration-test certification; or
* Internet-scale performance.
The HMAC authority mechanism, deterministic JSON representation,
Python runtime, and SQLite store are implementation choices used to
make the architecture executable and independently reviewable.
They are not normative requirements of the execution-finality
architecture.
31.15. Data Limitation
All data in the implementation are synthetic.
The package does not use:
* real customer records;
* real enterprise credentials;
* real payment accounts;
* real user email;
Das Expires 9 March 2027 [Page 44]
Internet-Draft Tool-Use Binding September 2026
* production OpenAI data;
* production Anthropic data;
* production MCP data;
* government data; or
* live confidential information.
A successful test therefore demonstrates deterministic software
behaviour against the supplied fixtures.
It does not constitute production validation using an enterprise
dataset.
31.16. Legal and Standards Limitation
The reference implementation does not determine whether an operation
is legally permitted.
The policy layer receives configured constraints and technically
enforces those constraints.
It therefore demonstrates a machine-enforceable configured constraint
rather than an automatic legal determination.
The repository also does not establish IETF adoption, IETF
endorsement, standards conformance, GDPR compliance, EU AI Act
compliance, patent validity, patent infringement, standards
essentiality, or production certification.
Any applicable IETF intellectual-property disclosure obligations
remain governed separately by the IETF IPR process.
31.17. Relationship to the Privacy Finality Reference Implementation
A related public implementation applies the same underlying
execution-finality separation to privacy and data-protection
constraints:
https://github.com/sangmdas/privacy-finality-reference
The privacy implementation and the agentic tool-binding
implementation share the underlying sequence:
Das Expires 9 March 2027 [Page 45]
Internet-Draft Tool-Use Binding September 2026
Candidate Act
->
Non-Effective State
->
protected validation
->
act-bound authority
->
Finality Sink
->
external effect
but they exercise different profiles.
The privacy repository focuses on such properties as purpose binding,
minimum-data enforcement, recipient restrictions, destination
restrictions, logical data separation, replay protection, and
privacy-oriented Finality Sink release.
The repository referenced by this document focuses instead on
tool_use, tool_calls, MCP tools/call, computer-use dispatch, argument
substitution, endpoint substitution, single-use tool authority, and
the boundary immediately preceding invoke().
The privacy repository is therefore a related implementation of the
common execution-finality substrate, not a substitute for the agentic
adapters in this repository.
31.18. What the Reference Implementation Demonstrates
Within its stated scope, the implementation demonstrates that:
* a tool call can exist without executing;
* a generated tool request can be represented as a Candidate Act;
* live action arguments can be cryptographically bound to the
validated Candidate Act;
* authorization can be scoped to a particular act, workload,
destination, and sink;
* possession of an authority object alone can be made insufficient
through workload proof-of-possession;
* argument mutation can be rejected;
* authority replay can be rejected;
Das Expires 9 March 2027 [Page 46]
Internet-Draft Tool-Use Binding September 2026
* MCP endpoint substitution can be rejected;
* computer-use origin substitution can be rejected;
* stale policy state can invalidate previously issued authority; and
* invoke() can remain unreachable until the Finality Sink has
verified and consumed the required authority.
The implementation does not demonstrate that every AI safety problem
is solved, that every production bypass has been closed, or that
every external effect can be made transactionally atomic using the
supplied local code.
Its narrower purpose is to make the architectural proposition
executable:
| A model may generate a consequential act, but generation of that
| act does not itself provide the authority required for the act to
| become externally effective.
32. IANA Considerations
This document requests no IANA actions.
33. Intellectual Property Note
Related execution-finality concepts appear in the DAS Protocols
family, including PCT/IB2026/055615, published as [DAS-MOTHERSHIP].
This statement is provided for technical transparency and does not
substitute for any disclosure required through the IETF IPR process.
Applicable IETF disclosure obligations are governed by BCP 79
[RFC8179].
The broader digital-sovereignty, data-protection, and AI-governance
rationale for the execution-finality architecture underlying this
binding has also been submitted for public community review to the
European Commission's Apply AI Alliance Futurium platform
[DAS-EU-FUTURIUM], and is presented in narrative form in an
accompanying public technical disclosure [DAS-ZENODO-AUTHORITY].
34. Conclusion
Claude will keep emitting tool_use. ChatGPT will keep emitting
tool_calls. MCP will keep emitting tools/call. None of those blocks
is permission to touch the world. Bind them to an AgentCandidateAct,
consume authority at the host sink, then invoke. The model vendor
does not have to change. The host loop does.
Das Expires 9 March 2027 [Page 47]
Internet-Draft Tool-Use Binding September 2026
35. Normative References
[RFC2119] Bradner, S., "Key words for use in RFCs to Indicate
Requirement Levels", BCP 14, RFC 2119, March 1997,
<https://www.rfc-editor.org/info/rfc2119>.
[RFC8174] Leiba, B., "Ambiguity of Uppercase vs Lowercase in RFC
2119 Key Words", BCP 14, RFC 8174, May 2017,
<https://www.rfc-editor.org/info/rfc8174>.
[RFC8179] Bradner, S. and J. Contreras, "Intellectual Property
Rights in IETF Technology", BCP 79, RFC 8179, May 2017,
<https://www.rfc-editor.org/info/rfc8179>.
36. Informative References
[DAS-EU-FUTURIUM]
Das, S., "Protecting Europe: A Technical Foundation for
Digital Sovereignty, Data Protection, and AI Governance",
European Commission, Apply AI Alliance, Futurium Community
Exchange Platform, 7 August 2026,
<https://futurium.ec.europa.eu/en/apply-ai-alliance/
community-content/protecting-europe-technical-foundation-
digital-sovereignty-data-protection-and-ai-governance>.
[DAS-ISOLATION]
Das, S., "Why the Next AI War Will Be Won on Isolation,
Not Intelligence", DOI 10.5281/zenodo.22082925, 2026,
<https://doi.org/10.5281/zenodo.22082925>.
[DAS-MOTHERSHIP]
Das, S., "Hardware-Rooted Execution-Finality System for
Sovereign Artificial Intelligence Infrastructure, AI-
Native Telecommunications and Satellites", WIPO
Publication WO 2026/150382, PCT
Application PCT/IB2026/055615, 2026,
<https://patentscope2.wipo.int/search/en/
detail.jsf?docId=WO2026150382>.
[DAS-ZENODO-AUTHORITY]
Das, S., "The Internet Solved Communication. It Never
Solved Authority", DOI 10.5281/zenodo.22082995, August
2026, <https://doi.org/10.5281/zenodo.22082995>.
Das Expires 9 March 2027 [Page 48]
Internet-Draft Tool-Use Binding September 2026
[I-D.das-agentic]
Das, S., "Tool Selection Is Not Execution: Finality for
Agentic Tool Dispatch", Work in Progress, Internet-Draft,
draft-das-agentic-execution-finality-01, August 2026,
<https://datatracker.ietf.org/doc/html/draft-das-agentic-
execution-finality-01>.
[I-D.das-enterprise]
Das, S., "A Compromised AI Server Must Not Become a Map of
the Enterprise", Work in Progress, Internet-Draft, draft-
das-enterprise-ai-output-finality-00, August 2026,
<https://datatracker.ietf.org/doc/html/draft-das-
enterprise-ai-output-finality-00>.
[I-D.das-payment]
Das, S., "A Signed Instruction Is Not Settlement: Finality
for Agentic and API Payments", Work in Progress, Internet-
Draft, draft-das-payment-execution-finality-00, August
2026, <https://datatracker.ietf.org/doc/html/draft-das-
payment-execution-finality-00>.
Appendix A. Appendix A. Execution-Finality Binding in Compact Form
This appendix is informative. It summarizes the minimum conceptual
separation used throughout this document.
Das Expires 9 March 2027 [Page 49]
Internet-Draft Tool-Use Binding September 2026
MODEL / AGENT / APPLICATION
|
| proposes
v
+---------------+
| Candidate Act |
+-------+-------+
|
| remains non-effective
v
+-------------------+
| Non-Effective |
| State |
+---------+---------+
|
| validate load-bearing state
v
+-------------------+
| Protected |
| Validation |
+---------+---------+
|
| bind scoped authority/evidence
v
+-------------------+
| Finality Sink |
| Verification |
+---------+---------+
|
allow | deny -> no effect
v
+-------------------+
| External Effect |
+-------------------+
The Candidate Act may be represented using an existing vendor or
protocol envelope, but the envelope itself is not treated as
effectuation authority. Implementations may use different
cryptographic, operating-system, service-side, or hardware mechanisms
to realize the protected validation and Finality Sink functions,
provided the required security properties of this profile are
preserved.
A.1. Core Invariants
1. Model or agent output is not, by itself, authority to create an
external effect.
Das Expires 9 March 2027 [Page 50]
Internet-Draft Tool-Use Binding September 2026
2. A protected Candidate Act remains non-effective until required
validation succeeds.
3. Authorization state is associated with the validated act and
relevant scope rather than merely with the existence of a model
session.
4. The effectuation boundary verifies the required state before
permitting the consequence.
5. Alternate paths capable of producing the same protected effect
remain subordinate to the finality boundary or an equivalent
protected enforcement mechanism.
6. Failure, mismatch, expiration, replay, or unverifiable state
results in fail-closed behavior for the protected effect.
A.2. DAS Protocols Mothership Context
The DAS Protocols Mothership [DAS-MOTHERSHIP] is broader than this
Internet-Draft. This draft extracts only the tool-dispatch binding
needed to express the execution-finality property across contemporary
AI tool-use interfaces and MCP-style calls. It should therefore be
possible to evaluate, implement, criticize, or standardize this
profile independently of the larger disclosure.
In this profile, the central invariant can be stated compactly as:
| Computation is not authority, and authorization is not finality
| until the effectuation boundary verifies the act-bound state
| required for the external consequence.
Author's Address
Sangam Das
Independent Inventor
Balasore 756001
Odisha
India
Email: info@sangamdas.com
Das Expires 9 March 2027 [Page 51]