{"success":true,"schema_version":"1.0.0","request_id":"req_ee1d1b446b6d4a01b5b6eeb5c6b07787","timestamp":"2026-11-01T17:39:06.155Z","result":{"id":"F32","name":"office_to_pdf","title":"Office转PDF","status":"available","phase":"P1","group":"convert","description":"Convert supported Office documents using a pinned office engine and fonts. Do not use to run macros, refresh external data or promise pixel-identical Microsoft Office rendering. Inputs: 1–1 immutable authorized files and the typed parameters below. Returns an asynchronous job, not the final PDF. Poll get_pdf_job, then read artifacts and the receipt. The operation creates stored outputs and may incur charges; specify a cost ceiling. 禁宏/外链/公式网络函数；打印区域和字体替换报告；旧二进制格式另验收。","rest":{"method":"POST","path":"/api/v1/pdf/office-to-pdf"},"required_scopes":["jobs:create","files:read","pdf:transform"],"engine":"container","rest_input_schema":{"type":"object","properties":{"file_ids":{"type":"array","description":"Ordered authorized immutable inputs","items":{"type":"string","description":"Authorized immutable file ID.","pattern":"^fil_[A-Za-z0-9_-]+$"},"minItems":1,"maxItems":1},"parameters":{"type":"object","properties":{"format_hint":{"type":"string","description":"Uploaded Office format","enum":["docx","xlsx","pptx","odt","ods","odp"]},"sheet_names":{"type":"array","description":"Optional worksheet selection","items":{"type":"string","description":"Worksheet name"},"minItems":1,"maxItems":100},"font_policy":{"type":"string","description":"Missing font handling","enum":["reject","substitute_with_warning"],"default":"substitute_with_warning"}},"required":["format_hint"],"additionalProperties":false},"execution":{"$ref":"#/components/schemas/Execution"},"client_task_id":{"type":"string","description":"Caller correlation, not an authorization token","maxLength":128}},"required":["file_ids","parameters","execution"],"additionalProperties":false},"input_schema":{"type":"object","properties":{"file_ids":{"type":"array","description":"Ordered authorized immutable inputs","items":{"type":"string","description":"Authorized immutable file ID.","pattern":"^fil_[A-Za-z0-9_-]+$"},"minItems":1,"maxItems":1},"parameters":{"type":"object","properties":{"format_hint":{"type":"string","description":"Uploaded Office format","enum":["docx","xlsx","pptx","odt","ods","odp"]},"sheet_names":{"type":"array","description":"Optional worksheet selection","items":{"type":"string","description":"Worksheet name"},"minItems":1,"maxItems":100},"font_policy":{"type":"string","description":"Missing font handling","enum":["reject","substitute_with_warning"],"default":"substitute_with_warning"}},"required":["format_hint"],"additionalProperties":false},"execution":{"$ref":"#/components/schemas/Execution"},"client_task_id":{"type":"string","description":"Caller correlation, not an authorization token","maxLength":128},"idempotency_key":{"type":"string","description":"Required project/operation scoped deduplication key shared with REST Idempotency-Key","minLength":8,"maxLength":128}},"required":["file_ids","parameters","execution","idempotency_key"],"additionalProperties":false},"output_schema":{"type":"object","properties":{"success":{"const":true},"schema_version":{"const":"1.0.0"},"request_id":{"type":"string","description":"Request ID"},"timestamp":{"type":"string","description":"Server response time","format":"date-time"},"result":{"$ref":"#/components/schemas/Job"},"sources":{"type":"array","description":"Input provenance","items":{"$ref":"#/components/schemas/Source"},"minItems":0,"maxItems":100},"cache":{"type":"object","properties":{"hit":{"type":"boolean"},"age_seconds":{"type":"integer","description":"Cache age","minimum":0}},"required":["hit","age_seconds"],"additionalProperties":false},"next_actions":{"type":"array","description":"Non-executing suggestions","items":{"type":"object","properties":{"tool":{"type":"string","description":"Tool name"},"arguments":{"type":"object"},"reason":{"type":"string","description":"Reason"},"required_scopes":{"type":"array","description":"Scopes still enforced","items":{"type":"string","description":"Scope"},"minItems":0,"maxItems":20},"requires_confirmation":{"type":"boolean"}},"required":["tool","arguments","reason","required_scopes","requires_confirmation"],"additionalProperties":false},"minItems":0,"maxItems":10}},"required":["success","schema_version","request_id","timestamp","result","sources","next_actions"],"additionalProperties":false},"result_artifact_types":["converted.pdf","conversion-report.json"],"limits_and_semantics":"禁宏/外链/公式网络函数；打印区域和字体替换报告；旧二进制格式另验收。","acceptance":"复杂表格/页眉/幻灯片/中文字体金样本；丢页/超时明确失败。","mcp_annotations":{"readOnlyHint":false,"destructiveHint":false,"idempotentHint":false,"openWorldHint":false},"idempotency":"REST Idempotency-Key / MCP idempotency_key required; shared project/operation deduplication for at least 24h.","doc_url":"/api/v1/capabilities/office_to_pdf","accepted_input_media_types":["application/vnd.openxmlformats-officedocument.wordprocessingml.document","application/vnd.openxmlformats-officedocument.spreadsheetml.sheet","application/vnd.openxmlformats-officedocument.presentationml.presentation","application/vnd.oasis.opendocument.text","application/vnd.oasis.opendocument.spreadsheet","application/vnd.oasis.opendocument.presentation"],"accepted_file_states":["ready"],"availability_reason":"Cloudflare Container adapter enabled"},"sources":[],"cache":{"hit":false,"age_seconds":0},"next_actions":[]}