No English page yet. Showing the Japanese source.
OpenAPI/Function Calling
記事状態: 公開 · 最終確認: 未確認
要点
「OpenAPI 3.1.0はHTTP APIの機械可読なインターフェース記述であり、function callingはproviderのモデルがアプリケーションへ外部処理の呼出しを要求する実行境界である。OpenAPIをfunction toolへ写像することは可能な設計選択だが、版・operation・schema・認証・実行結果・side effect policyを別途固定し、同一仕様とは扱わない。」
現在の判断
- ESTABLISHED [S1 support]: OAS 3.1.0 is a programming-language-agnostic interface description for HTTP APIs. Its stated purpose is to let humans and computers discover and understand service capabilities without source code, extra documentation, or network inspection.
- ESTABLISHED [S2 support]: OpenAI's current documentation defines function calling/tool calling as a way for its models to interface with external systems and application-provided data/actions. Function tools are defined by JSON Schema; the application registers/handles the function and action request.
- ESTABLISHED [S2 support]: The provider page documents tool-choice controls including auto, required, forced specific function, and allowed tools; it also records that Chat Completions remains non-strict by default unless strict false is explicitly set in the relevant path.
- INFERENCE [S1+S2]: OpenAPI can be an input or mapping source for an HTTP tool catalog, but OAS is an API description while function calling is a model/provider runtime contract. They are not interchangeable and the mapping requires operation selection, schema adaptation, auth, result handling, and policy.
どこまで当てはまるか
Enterprise AI Core / interoperability / implementation / provider mapping / governance / security
詳しく理解する
なぜ重要か
The future update must compare deterministic HTTP interface description and provider-specific model tool calling without calling them the same protocol. This boundary affects schema validation, allowlists, authorization, and audit.
対象範囲と前提
Enterprise AI Core / interoperability / implementation / provider mapping / governance / security
検討ポイント
What is established by OpenAPI 3.1 for HTTP API description, what is established by the current OpenAI function-calling documentation for model-to-application tool requests, and where is the interoperability claim only an inference?
EVIDENCE TABLE
[S1] SOURCE_CLASS: official_spec | EXACT_TITLE: OpenAPI Specification v3.1.0 | AUTHOR_ORG: OpenAPI Initiative / Linux Foundation | CANONICAL_URL: https://spec.openapis.org/oas/v3.1.0.html | PUBLICATION_UPDATE_ACCESS: v3.1.0 page; accessed 2026-09-14 00:10 JST | VERSION_RELEASE_TAG: v3.1.0; page lists newer versions including v3.2.1, so this is a pinned baseline | SUPPORTING_LOCATOR: metadata lines 6-38; What is OAS lines 41-43; Path/Operation and security examples in the recorded web capture | EVIDENCE_LABEL: VERIFIED_SPEC | RELATION: support for API-description semantics; context for version drift. [S2] SOURCE_CLASS: official_provider_docs | EXACT_TITLE: Function calling | AUTHOR_ORG: OpenAI | CANONICAL_URL: https://developers.openai.com/api/docs/guides/function-calling | PUBLICATION_UPDATE_ACCESS: current docs accessed 2026-09-14 00:10 JST; original platform URL redirects here | VERSION_RELEASE_TAG: current OpenAI API documentation; page-specific API/model availability, no immutable API revision exposed in capture | SUPPORTING_LOCATOR: lines 838-854 for function/tool purpose and JSON-schema-defined function tools; lines 3554-3559 for tool_choice modes; line 3592 for non-strict default note | EVIDENCE_LABEL: VERIFIED_SPEC + PRODUCT_VOLATILE | RELATION: support for provider-specific function-calling behavior; limit for cross-provider generalization. [S3] SOURCE_CLASS: official_spec | EXACT_TITLE: OpenAPI Specification v3.2.1 listing/current-version metadata | AUTHOR_ORG: OpenAPI Initiative / Linux Foundation | CANONICAL_URL: https://spec.openapis.org/oas/latest.html | PUBLICATION_UPDATE_ACCESS: current metadata accessed 2026-09-14 00:10 JST | VERSION_RELEASE_TAG: latest page is mutable; current-version pointer only | SUPPORTING_LOCATOR: v3.1.0 metadata lines 6-11 and 22-27 explicitly identify latest published version/current version list; use the fixed v3.1.0 URL for normative citation until the target version is separately re-read | EVIDENCE_LABEL: PRODUCT_VOLATILE + CONTEXT | RELATION: version-drift context; not a claim about function calling.
利用できる条件
OAS version and API revision; operationId/HTTP method/path; servers/base URL; request/response schema and serialization; security schemes and actual issuer/audience/scope; model/provider/API endpoint; function name/description/JSON Schema; strict/tool_choice setting; tool allowlist; argument/result validator; confirmation and side-effect policy; idempotency/rollback; rate/size/timeouts; audit and data residency.
実装・運用
Evidence-only desk research. No API endpoint, model call, function call, credential, or side effect was executed.
確認・評価方法
No schema-to-tool transpilation, invalid-argument, tool-choice, cross-provider, latency, or business-outcome evaluation was run.
セキュリティとプライバシー
OAS security objects are declarations, not proof of a configured authorization server. Tool schemas and descriptions can expose sensitive capability metadata. Validate model arguments and returned data outside the model; log model/provider/version, selected operation, arguments hash/redaction, authorization decision, execution result, retries, and human approval. Cost/operability need model tokens plus downstream call, retry, timeout, and human-review accounting; not measured.
EVIDENCE PACKET
---
確認できていること
ESTABLISHED [S1 support]: OAS 3.1.0 is a programming-language-agnostic interface description for HTTP APIs. Its stated purpose is to let humans and computers discover and understand service capabilities without source code, extra documentation, or network inspection.
ESTABLISHED [S2 support]: OpenAI's current documentation defines function calling/tool calling as a way for its models to interface with external systems and application-provided data/actions. Function tools are defined by JSON Schema; the application registers/handles the function and action request.
ESTABLISHED [S2 support]: The provider page documents tool-choice controls including auto, required, forced specific function, and allowed tools; it also records that Chat Completions remains non-strict by default unless strict false is explicitly set in the relevant path.
INFERENCE [S1+S2]: OpenAPI can be an input or mapping source for an HTTP tool catalog, but OAS is an API description while function calling is a model/provider runtime contract. They are not interchangeable and the mapping requires operation selection, schema adaptation, auth, result handling, and policy.
よくある失敗・反証
OAS describes interface structure but does not grant credentials, prove endpoint availability, authorize side effects, guarantee semantic correctness, or define a model's tool-selection behavior. OpenAI's page is provider-specific and volatile; its tool-choice/strict semantics cannot be generalized to every model or API. JSON Schema validation does not prove business invariants, safe arguments, idempotency, or human approval. No provider-crossing mapping benchmark was adopted.
Do not call OpenAPI a model protocol, do not call function calling deterministic execution, and do not promote one provider's current docs into a universal guarantee. Do not claim schema validity equals authorization or business correctness. UNIT_CLOSE_STATUS: INDIVIDUAL_BOUNDED_CLOSE / EVIDENCE_RECORDED / UNKNOWN_PRESERVED
実務での使い方
OAS version and API revision; operationId/HTTP method/path; servers/base URL; request/response schema and serialization; security schemes and actual issuer/audience/scope; model/provider/API endpoint; function name/description/JSON Schema; strict/tool_choice setting; tool allowlist; argument/result validator; confirmation and side-effect policy; idempotency/rollback; rate/size/timeouts; audit and data residency.
Evidence-only desk research. No API endpoint, model call, function call, credential, or side effect was executed.
No schema-to-tool transpilation, invalid-argument, tool-choice, cross-provider, latency, or business-outcome evaluation was run.
OAS security objects are declarations, not proof of a configured authorization server. Tool schemas and descriptions can expose sensitive capability metadata. Validate model arguments and returned data outside the model; log model/provider/version, selected operation, arguments hash/redaction, authorization decision, execution result, retries, and human approval. Cost/operability need model tokens plus downstream call, retry, timeout, and human-review accounting; not measured.
Future update Work should build a pinned OAS-to-tool mapping TEST_PROFILE: safe read-only operation, invalid arguments, schema strict/non-strict, forced/allowed tool selection, auth failure, timeout/retry, duplicate execution, human approval, redaction, audit, and rollback. Re-read provider docs at publication time and compare at least one non-OpenAI implementation before cross-provider wording.
まだ確認できていないこと
- EA-160-UNKNOWN-01
current OAS latest normative version; provider-neutral function-calling semantics; schema dialect compatibility; tool-result contract; model selection/error behavior; API auth/audience mapping; cross-provider conformance; prompt-injection/tool-description attacks; cost and production failure rates.
- EA-160-UNKNOWN-CURRENTNESS
外部根拠の再確認日がcanonical body/control-planeで確定していないため、currentnessはUNKNOWNとして保持する。日付を推測補完しない。
根拠資料
- 研究資料研究資料
[S1] SOURCE_CLASS: official_spec | EXACT_TITLE: OpenAPI Specification v3.1.0 | AUTHOR_ORG: OpenAPI Initiative / Linux Foundation | CANONICAL_URL:
確認上の限界
元の監査済み資料に記載された参照先です。URLの復元は、資料の最新性や全主張の支持を新たに検証したことを意味しません。
- 研究資料研究資料
[S2] SOURCE_CLASS: official_provider_docs | EXACT_TITLE: Function calling | AUTHOR_ORG: OpenAI | CANONICAL_URL:
確認上の限界
元の監査済み資料に記載された参照先です。URLの復元は、資料の最新性や全主張の支持を新たに検証したことを意味しません。
- 研究資料研究資料
[S3] SOURCE_CLASS: official_spec | EXACT_TITLE: OpenAPI Specification v3.2.1 listing/current-version metadata | AUTHOR_ORG: OpenAPI Initiative / Linux Foundation | CANONICAL_URL:
確認上の限界
元の監査済み資料に記載された参照先です。URLの復元は、資料の最新性や全主張の支持を新たに検証したことを意味しません。
出典ID・検証情報・機械可読データ
根拠の種類と情報の鮮度は、ラベルとアイコンで確認できます。
- 記事ID
- EA-160
- 最終確認日
- —
- 提供元・モデル・プラン・利用環境
- OpenAI
- 対象地域
- —
元資料の全文と収録照合記録
WHY_THIS_MATTERS_TO_UPDATE
The future update must compare deterministic HTTP interface description and provider-specific model tool calling without calling them the same protocol. This boundary affects schema validation, allowlists, authorization, and audit.
SCOPE_ROUTING
Enterprise AI Core / interoperability / implementation / provider mapping / governance / security
CLAIM_OR_RESEARCH_QUESTION
What is established by OpenAPI 3.1 for HTTP API description, what is established by the current OpenAI function-calling documentation for model-to-application tool requests, and where is the interoperability claim only an inference?
EVIDENCE_TABLE
[S1] SOURCE_CLASS: official_spec | EXACT_TITLE: OpenAPI Specification v3.1.0 | AUTHOR_ORG: OpenAPI Initiative / Linux Foundation | CANONICAL_URL: https://spec.openapis.org/oas/v3.1.0.html | PUBLICATION_UPDATE_ACCESS: v3.1.0 page; accessed 2026-09-14 00:10 JST | VERSION_RELEASE_TAG: v3.1.0; page lists newer versions including v3.2.1, so this is a pinned baseline | SUPPORTING_LOCATOR: metadata lines 6-38; What is OAS lines 41-43; Path/Operation and security examples in the recorded web capture | EVIDENCE_LABEL: VERIFIED_SPEC | RELATION: support for API-description semantics; context for version drift. [S2] SOURCE_CLASS: official_provider_docs | EXACT_TITLE: Function calling | AUTHOR_ORG: OpenAI | CANONICAL_URL: https://developers.openai.com/api/docs/guides/function-calling | PUBLICATION_UPDATE_ACCESS: current docs accessed 2026-09-14 00:10 JST; original platform URL redirects here | VERSION_RELEASE_TAG: current OpenAI API documentation; page-specific API/model availability, no immutable API revision exposed in capture | SUPPORTING_LOCATOR: lines 838-854 for function/tool purpose and JSON-schema-defined function tools; lines 3554-3559 for tool_choice modes; line 3592 for non-strict default note | EVIDENCE_LABEL: VERIFIED_SPEC + PRODUCT_VOLATILE | RELATION: support for provider-specific function-calling behavior; limit for cross-provider generalization. [S3] SOURCE_CLASS: official_spec | EXACT_TITLE: OpenAPI Specification v3.2.1 listing/current-version metadata | AUTHOR_ORG: OpenAPI Initiative / Linux Foundation | CANONICAL_URL: https://spec.openapis.org/oas/latest.html | PUBLICATION_UPDATE_ACCESS: current metadata accessed 2026-09-14 00:10 JST | VERSION_RELEASE_TAG: latest page is mutable; current-version pointer only | SUPPORTING_LOCATOR: v3.1.0 metadata lines 6-11 and 22-27 explicitly identify latest published version/current version list; use the fixed v3.1.0 URL for normative citation until the target version is separately re-read | EVIDENCE_LABEL: PRODUCT_VOLATILE + CONTEXT | RELATION: version-drift context; not a claim about function calling.
FINDINGS
- ESTABLISHED [S1 support]: OAS 3.1.0 is a programming-language-agnostic interface description for HTTP APIs. Its stated purpose is to let humans and computers discover and understand service capabilities without source code, extra documentation, or network inspection.
- ESTABLISHED [S2 support]: OpenAI's current documentation defines function calling/tool calling as a way for its models to interface with external systems and application-provided data/actions. Function tools are defined by JSON Schema; the application registers/handles the function and action request.
- ESTABLISHED [S2 support]: The provider page documents tool-choice controls including auto, required, forced specific function, and allowed tools; it also records that Chat Completions remains non-strict by default unless strict false is explicitly set in the relevant path.
- INFERENCE [S1+S2]: OpenAPI can be an input or mapping source for an HTTP tool catalog, but OAS is an API description while function calling is a model/provider runtime contract. They are not interchangeable and the mapping requires operation selection, schema adaptation, auth, result handling, and policy.
LIMITS / COUNTEREVIDENCE / FAILURE ENVELOPE
OAS describes interface structure but does not grant credentials, prove endpoint availability, authorize side effects, guarantee semantic correctness, or define a model's tool-selection behavior. OpenAI's page is provider-specific and volatile; its tool-choice/strict semantics cannot be generalized to every model or API. JSON Schema validation does not prove business invariants, safe arguments, idempotency, or human approval. No provider-crossing mapping benchmark was adopted.
AVAILABILITY_GATES
OAS version and API revision; operationId/HTTP method/path; servers/base URL; request/response schema and serialization; security schemes and actual issuer/audience/scope; model/provider/API endpoint; function name/description/JSON Schema; strict/tool_choice setting; tool allowlist; argument/result validator; confirmation and side-effect policy; idempotency/rollback; rate/size/timeouts; audit and data residency.
IMPLEMENTATION_STATE
Evidence-only desk research. No API endpoint, model call, function call, credential, or side effect was executed.
BENCHMARK_OR_EVAL
No schema-to-tool transpilation, invalid-argument, tool-choice, cross-provider, latency, or business-outcome evaluation was run.
SECURITY / PRIVACY / AUDIT / COST / OPERABILITY
OAS security objects are declarations, not proof of a configured authorization server. Tool schemas and descriptions can expose sensitive capability metadata. Validate model arguments and returned data outside the model; log model/provider/version, selected operation, arguments hash/redaction, authorization decision, execution result, retries, and human approval. Cost/operability need model tokens plus downstream call, retry, timeout, and human-review accounting; not measured.
SAFE_WORDING_FOR_FUTURE_BOOK
「OpenAPI 3.1.0はHTTP APIの機械可読なインターフェース記述であり、function callingはproviderのモデルがアプリケーションへ外部処理の呼出しを要求する実行境界である。OpenAPIをfunction toolへ写像することは可能な設計選択だが、版・operation・schema・認証・実行結果・side effect policyを別途固定し、同一仕様とは扱わない。」
UPDATE_WORK_HANDOFF
Future update Work should build a pinned OAS-to-tool mapping TEST_PROFILE: safe read-only operation, invalid arguments, schema strict/non-strict, forced/allowed tool selection, auth failure, timeout/retry, duplicate execution, human approval, redaction, audit, and rollback. Re-read provider docs at publication time and compare at least one non-OpenAI implementation before cross-provider wording.
OPEN_UNKNOWN
current OAS latest normative version; provider-neutral function-calling semantics; schema dialect compatibility; tool-result contract; model selection/error behavior; API auth/audience mapping; cross-provider conformance; prompt-injection/tool-description attacks; cost and production failure rates.
STOP_CONDITION
Do not call OpenAPI a model protocol, do not call function calling deterministic execution, and do not promote one provider's current docs into a universal guarantee. Do not claim schema validity equals authorization or business correctness. UNIT_CLOSE_STATUS: INDIVIDUAL_BOUNDED_CLOSE / EVIDENCE_RECORDED / UNKNOWN_PRESERVED
EVIDENCE PACKET
---
EVD-EA-160-URL-9AE4B1811AB6研究資料研究資料根拠の出所: SOURCE_PACKET_REFERENCE- 裏付ける内容
- —
- 確認日
- —
- 出典・実験ID
- SRC-EA-160-URL-9AE4B1811AB6
- 検証箇所
- EVIDENCE_TABLE · S1 · [S1] SOURCE_CLASS: official_spec | EXACT_TITLE: OpenAPI Specification v3.1.0 | AUTHOR_ORG: OpenAPI Initiative / Linux Foundation | CANONICAL_URL: https://spec.openapis.org/oas/v3.1.0.html
- 適用範囲
- EVIDENCE_TABLE
- 出典・来歴
- SOURCE_PACKET_REFERENCE_PROJECTED
- 限界
- 元の監査済み資料に記載された参照先です。URLの復元は、資料の最新性や全主張の支持を新たに検証したことを意味しません。
EVD-EA-160-URL-90F2BF11E4FB研究資料研究資料根拠の出所: SOURCE_PACKET_REFERENCE- 裏付ける内容
- —
- 確認日
- —
- 出典・実験ID
- SRC-EA-160-URL-90F2BF11E4FB
- 検証箇所
- EVIDENCE_TABLE · S2 · [S2] SOURCE_CLASS: official_provider_docs | EXACT_TITLE: Function calling | AUTHOR_ORG: OpenAI | CANONICAL_URL: https://developers.openai.com/api/docs/guides/function-calling
- 適用範囲
- EVIDENCE_TABLE
- 出典・来歴
- SOURCE_PACKET_REFERENCE_PROJECTED
- 限界
- 元の監査済み資料に記載された参照先です。URLの復元は、資料の最新性や全主張の支持を新たに検証したことを意味しません。
EVD-EA-160-URL-529619EE7996研究資料研究資料根拠の出所: SOURCE_PACKET_REFERENCE- 裏付ける内容
- —
- 確認日
- —
- 出典・実験ID
- SRC-EA-160-URL-529619EE7996
- 検証箇所
- EVIDENCE_TABLE · S3 · [S3] SOURCE_CLASS: official_spec | EXACT_TITLE: OpenAPI Specification v3.2.1 listing/current-version metadata | AUTHOR_ORG: OpenAPI Initiative / Linux Foundation | CANONICAL_URL: https://spec.openapis.org/oas/latest.html
- 適用範囲
- EVIDENCE_TABLE
- 出典・来歴
- SOURCE_PACKET_REFERENCE_PROJECTED
- 限界
- 元の監査済み資料に記載された参照先です。URLの復元は、資料の最新性や全主張の支持を新たに検証したことを意味しません。
EA-160-R11-RESEARCH研究資料研究資料根拠の出所: AUDITED_CANONICAL_RESEARCH_PACKETEA-160 監査済みresearch / canonical revision binding
- 裏付ける内容
- 1. ESTABLISHED [S1 support]: OAS 3.1.0 is a programming-language-agnostic interface description for HTTP APIs. Its stated purpose is to let humans and computers discover and understand service capabilities without source code, extra documentation, or network inspection. 2. ESTABLISHED [S2 support]: OpenAI's current documentation defines function calling/tool calling as a way for its models to interface with external systems and application-provided data/actions. Function tools are defined by JSON Schema; the application registers/handles the function and action request. 3. ESTABLISHED [S2 support]: The provider page documents tool-choice controls including auto, required, forced specific function, and allowed tools; it also records that Chat Completions remains non-strict by default unless strict false is explicitly set in the relevant path. 4. INFERENCE [S1+S2]: OpenAPI can be an input or mapping source for an HTTP tool catalog, but OAS is an API description while function calling is a model/provider runtime contract. They are not interchangeable and the mapping requires operation selection, schema adaptation, auth, result handling, and policy.
- 確認日
- —
- 出典・実験ID
- COMM-047-EA0160
- 検証箇所
- COMM-047-EA0160 · EA-160-R5-LEGACY-MIGRATION-20261008-R1 · content/staging/EA-160.md
- 適用範囲
- 監査済みEA本文・canonical revision・既存Source Graph relationの範囲。欠損currentnessは推測で閉じない。
- 出典・来歴
- AUDIT_PASS_CANONICAL_BINDING
- 限界
- canonical監査・revision bindingの存在を示す。外部ソースcurrentnessが本文またはcontrol-planeで確定していない場合は、currentnessをUNKNOWNのまま保持する。
EA-160-R11-WEB-READBACK実装資料実装資料根拠の出所: IMPLEMENTATION_READBACKEA-160 Web body identity / canonical readback
- 裏付ける内容
- canonical staging bodyのSHA-256一致とR9 canonical ledger readbackをProduction projectionの入力として検証する。
- 確認日
- —
- 出典・実験ID
- WEBBODY-EA0160-R8-A32E4554
- 検証箇所
- WEBBODY-EA0160-R8-A32E4554 · content/staging/EA-160.md · EA-160-R5-LEGACY-MIGRATION-20261008-R1
- 適用範囲
- R9/R10 canonical readback後のProduction生成時body identity。
- 出典・来歴
- CANONICAL_READBACK_BODY_HASH_MATCH
- 限界
- body identity/readbackは本文claim自体の真偽や外部ソースの最新性を追加保証しない。
- 出典ID
- COMM-047-EA0160, SRC-EA-160-URL-9AE4B1811AB6, SRC-EA-160-URL-90F2BF11E4FB, SRC-EA-160-URL-529619EE7996, WEBBODY-EA0160-R8-A32E4554
- 追跡中のUNKNOWN ID
- EA-160-UNKNOWN-01, EA-160-UNKNOWN-CURRENTNESS
- 再確認のきっかけ
- canonical revision/publication state change · body artifact hash change · source currentness change · new contradiction or implementation readback
機械検査: 通過 — Automated validation does not guarantee accuracy or authorize execution.
同じ記事IDの機械可読データです。