本文へスキップ

AI運用の判断と根拠を引く

トップへ戻る

OpenAPI/ファンクションコーリング

用語・参照用語・参照公式仕様のみ公式仕様のみ鮮度未確認鮮度を確定できない

記事状態: 公開 · 最終確認: 未確認

要点

「OpenAPI 3.1.0はHTTP APIの機械可読なインターフェース記述であり、function callingは提供元のモデルがアプリケーションへ外部処理の呼出しを要求する実行境界である。OpenAPIをfunction ツールへ写像することは可能な設計選択だが、版・操作内容・データ形式の定義・認証・実行結果・外部への変更・送信 policyを別途固定し、同一仕様とは扱わない。」

現在の判断

  • 確立済み [S1サポート]: OAS 3.1.0は、HTTP APIのためのプログラミング言語に依存しないインターフェース記述です。その目的は、ソースコード、追加のドキュメント、またはネットワーク検査を行うことなく、人間とコンピュータがサービスの機能を検出して理解できるようにすることです。
  • ESTABLISHED [S2 裏付け]: OpenAI's 現在の 仕様・利用方法の文書 defines function calling/ツール calling as a way for its models to interface with 外部 systems and application-provided data/actions. Function tools are defined by JSON データ形式の定義; the アプリケーション registers/handles the function and action request.
  • 確定済み [S2サポート]: プロバイダーのページには、auto、required、特定の関数を強制するforced、および許可されたツールを含むtool-choice(ツール選択)の制御機能が記載されています。また、関連するパスでstrictをfalseに明示的に設定しない限り、Chat Completionsはデフォルトで非厳密な動作(non-strict)のままとなることも記録されています。
  • 推論 [S1+S2]: OpenAPI can be an input or mapping 出典 for an HTTP ツール catalog, but OAS is an API description while function calling is a モデル/提供元 実行環境 条件・契約. They are not interchangeable and the mapping requires 操作内容 selection, データ形式の定義 adaptation, auth, result handling, and policy.

どこまで当てはまるか

エンタープライズAIコア/相互運用性/実装/プロバイダーマッピング/ガバナンス/セキュリティ

詳しく理解する

なぜ重要か

The future update must compare 決まった規則に従う HTTP interface description and provider-specific モデル ツール calling without calling them the same protocol. This 適用限界 affects データ形式の検証, allowlists, 認可, and 監査.

対象範囲と前提

エンタープライズAIコア/相互運用性/実装/プロバイダーマッピング/ガバナンス/セキュリティ

検討ポイント

What is established by OpenAPI 3.1 for HTTP API description, what is established by the 現在の OpenAI function-calling 仕様・利用方法の文書 for model-to-application ツール requests, and where is the 相互運用性 記述・判断 only an 推論?

根拠資料の対応表

[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; 参照日 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 比較の基準 | SUPPORTING_LOCATOR: 付随情報 lines 6-38; What is OAS lines 41-43; Path/操作内容 and security examples in the recorded web capture | EVIDENCE_LABEL: VERIFIED_SPEC | 対応関係: 裏付け for API-description semantics; 文脈・入力情報 for バージョン 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: 現在の docs 参照日 2026-09-14 00:10 JST; original platform URL redirects here | VERSION_RELEASE_TAG: 現在の OpenAI API 仕様・利用方法の文書; page-specific API/モデル 利用可能性, no immutable API 改訂版 exposed in capture | SUPPORTING_LOCATOR: lines 838-854 for function/ツール 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 | 対応関係: 裏付け 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 付随情報 | AUTHOR_ORG: OpenAPI Initiative / Linux Foundation | CANONICAL_URL: https://spec.openapis.org/oas/latest.html | PUBLICATION_UPDATE_ACCESS: 現在の 付随情報 参照日 2026-09-14 00:10 JST | VERSION_RELEASE_TAG: latest page is mutable; current-version pointer only | SUPPORTING_LOCATOR: v3.1.0 付随情報 lines 6-11 and 22-27 explicitly identify latest published バージョン/現在の バージョン list; use the fixed v3.1.0 URL for normative citation until the 対象 バージョン is separately re-read | EVIDENCE_LABEL: PRODUCT_VOLATILE + 文脈・入力情報 | 対応関係: version-drift 文脈・入力情報; not a 記述・判断 about function calling.

利用できる条件

OAS バージョン and API 改訂版; operationId/HTTP 方式/path; servers/base URL; request/response データ形式の定義 and serialization; security schemes and actual issuer/audience/適用範囲; モデル/提供元/API endpoint; function name/description/JSON データ形式の定義; strict/tool_choice setting; ツール allowlist; argument/result 検証処理; confirmation and side-effect policy; 重複実行を防ぐ性質/以前の状態へ戻す操作; rate/size/timeouts; 監査 and データの保存地域.

実装・運用

エビデンスに基づくデスクリサーチのみ。APIエンドポイント、モデル呼び出し、関数呼び出し、認証情報、または副作用を伴う実行は一切行っていません。

確認・評価方法

No schema-to-tool transpilation, invalid-argument, tool-choice, cross-provider, latency, or business-outcome 評価 was 実行.

セキュリティとプライバシー

OAS security objects are declarations, not proof of a configured 認可 server. ツール schemas and descriptions can expose sensitive 利用可能な機能 付随情報. Validate モデル arguments and returned data outside the モデル; log モデル/提供元/バージョン, selected 操作内容, arguments hash/機密情報の削除・伏せ字化, 認可 decision, 実行 result, retries, and human 承認. Cost/operability need モデル tokens plus downstream call, 再試行, 処理待ち時間の上限, and human-review accounting; not measured.

根拠 PACKET

---

確認できていること

  • 確立済み [S1サポート]: OAS 3.1.0は、HTTP APIのためのプログラミング言語に依存しないインターフェース記述です。その目的は、ソースコード、追加のドキュメント、またはネットワーク検査を行うことなく、人間とコンピュータがサービスの機能を検出して理解できるようにすることです。

  • ESTABLISHED [S2 裏付け]: OpenAI's 現在の 仕様・利用方法の文書 defines function calling/ツール calling as a way for its models to interface with 外部 systems and application-provided data/actions. Function tools are defined by JSON データ形式の定義; the アプリケーション registers/handles the function and action request.

  • 確定済み [S2サポート]: プロバイダーのページには、auto、required、特定の関数を強制するforced、および許可されたツールを含むtool-choice(ツール選択)の制御機能が記載されています。また、関連するパスでstrictをfalseに明示的に設定しない限り、Chat Completionsはデフォルトで非厳密な動作(non-strict)のままとなることも記録されています。

  • 推論 [S1+S2]: OpenAPI can be an input or mapping 出典 for an HTTP ツール catalog, but OAS is an API description while function calling is a モデル/提供元 実行環境 条件・契約. They are not interchangeable and the mapping requires 操作内容 selection, データ形式の定義 adaptation, auth, result handling, and policy.

よくある失敗・反証

  • OAS describes interface structure but does not grant credentials, prove endpoint 利用可能性, authorize 外部への変更・送信, guarantee 意味上の correctness, or define a モデル's tool-selection behavior. OpenAI's page is provider-specific and volatile; its tool-choice/strict semantics cannot be generalized to every モデル or API. JSON データ形式の検証 does not prove business invariants, safe arguments, 重複実行を防ぐ性質, or human 承認. No provider-crossing mapping 比較評価 was adopted.

  • OpenAPIをモデルプロトコルと呼ばないこと、関数呼び出し(function calling)を決定論的な実行と呼ばないこと、そして特定のプロバイダーの現在のドキュメントを普遍的な保証として推奨しないこと。スキーマの妥当性が、認可やビジネス上の正当性と等価であると記述・判断(記述・判断)してはならない。 UNIT_CLOSE_STATUS: INDIVIDUAL_BOUNDED_CLOSE / EVIDENCE_RECORDED / UNKNOWN_PRESERVED

実務での使い方

  • OAS バージョン and API 改訂版; operationId/HTTP 方式/path; servers/base URL; request/response データ形式の定義 and serialization; security schemes and actual issuer/audience/適用範囲; モデル/提供元/API endpoint; function name/description/JSON データ形式の定義; strict/tool_choice setting; ツール allowlist; argument/result 検証処理; confirmation and side-effect policy; 重複実行を防ぐ性質/以前の状態へ戻す操作; rate/size/timeouts; 監査 and データの保存地域.

  • エビデンスに基づくデスクリサーチのみ。APIエンドポイント、モデル呼び出し、関数呼び出し、認証情報、または副作用を伴う実行は一切行っていません。

  • No schema-to-tool transpilation, invalid-argument, tool-choice, cross-provider, latency, or business-outcome 評価 was 実行.

  • OAS security objects are declarations, not proof of a configured 認可 server. ツール schemas and descriptions can expose sensitive 利用可能な機能 付随情報. Validate モデル arguments and returned data outside the モデル; log モデル/提供元/バージョン, selected 操作内容, arguments hash/機密情報の削除・伏せ字化, 認可 decision, 実行 result, retries, and human 承認. Cost/operability need モデル tokens plus downstream call, 再試行, 処理待ち時間の上限, and human-review accounting; not measured.

  • 今後の更新作業では、固定されたOASからツールへのマッピングを構築する必要があります。テスト項目(TEST_PROFILE)には、安全な読み取り専用操作、無効な引数、スキーマの厳密/非厳密、強制/許可されたツールの選択、認証失敗、タイムアウト/再試行、重複実行、人による確認、情報の秘匿化、監査、およびロールバックを含めてください。プロバイダーのドキュメントが公開された時点で再度読み込み、プロバイダー間で文言を共通化する前に、少なくとも1つのOpenAI以外の実装と比較してください。

まだ確認できていないこと

  • EA-160-UNKNOWN-01

    現在の OAS latest normative バージョン; provider-neutral function-calling semantics; データ形式の規格・版 compatibility; tool-result 条件・契約; モデル selection/error behavior; API auth/audience mapping; cross-provider 形式への適合; prompt-injection/tool-description attacks; cost and 本番環境 失敗 rates.

  • EA-160-UNKNOWN-CURRENTNESS

    外部根拠の再確認日が正式な本文・公開管理情報で確定していないため、現行性は未確認のまま保持する。確認日を推測して補わない。

根拠資料

出典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

    [S1] SOURCE_CLASS: official_spec | EXACT_TITLE: OpenAPI Specification v3.1.0 | AUTHOR_ORG: OpenAPI Initiative / Linux Foundation | CANONICAL_URL:

    裏付ける内容
    —
    確認日
    —
    出典・実験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

    [S2] SOURCE_CLASS: official_provider_docs | EXACT_TITLE: Function calling | AUTHOR_ORG: OpenAI | CANONICAL_URL:

    裏付ける内容
    —
    確認日
    —
    出典・実験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

    [S3] SOURCE_CLASS: official_spec | EXACT_TITLE: OpenAPI Specification v3.2.1 listing/current-version metadata | AUTHOR_ORG: OpenAPI Initiative / Linux Foundation | CANONICAL_URL:

    裏付ける内容
    —
    確認日
    —
    出典・実験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_PACKET

    EA-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_READBACK

    EA-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
再確認のきっかけ
正式な 改訂版/publication 状態 change · 本文 成果物 hash change · 出典 現行性 change · new contradiction or 実装 結果の照合

機械検査: 通過 — 機械検査の結果です。情報の正確性や実行の承認を保証するものではありません。

    同じ記事IDの機械可読データです。