{"command":{"effect":"write","timeoutSeconds":120,"inputSchema":{"type":"object","description":"Modifies a thread.","properties":{"path":{"type":"object","properties":{"thread_id":{"type":"string","description":"The ID of the thread to modify. Only the `metadata` can be modified."}},"required":["thread_id"],"additionalProperties":false},"body":{"$ref":"#/definitions/ModifyThreadRequest"}},"required":["path","body"],"additionalProperties":false,"definitions":{"ModifyThreadRequest":{"type":"object","additionalProperties":false,"properties":{"tool_resources":{"anyOf":[{"type":"object","description":"A set of resources that are made available to the assistant's tools in this thread. The resources are specific to the type of tool. For example, the `code_interpreter` tool requires a list of file IDs, while the `file_search` tool requires a list of vector store IDs.\n","properties":{"code_interpreter":{"type":"object","properties":{"file_ids":{"type":"array","description":"A list of [file](https://developers.openai.com/api/reference/resources/files) IDs made available to the `code_interpreter` tool. There can be a maximum of 20 files associated with the tool.\n","default":[],"maxItems":20,"items":{"type":"string"}}}},"file_search":{"type":"object","properties":{"vector_store_ids":{"type":"array","description":"The [vector store](https://developers.openai.com/api/reference/resources/vector_stores) attached to this thread. There can be a maximum of 1 vector store attached to the thread.\n","maxItems":1,"items":{"type":"string"}}}}}},{"type":"null"}]},"metadata":{"$ref":"#/definitions/Metadata"}}},"Metadata":{"anyOf":[{"type":"object","description":"Set of 16 key-value pairs that can be attached to an object. This can be\nuseful for storing additional information about the object in a structured\nformat, and querying for objects via API or the dashboard.\n\nKeys are strings with a maximum length of 64 characters. Values are strings\nwith a maximum length of 512 characters.\n","additionalProperties":{"type":"string"}},{"type":"null"}]}}},"name":"Modify thread","id":"openai.modifythread","example":{"path":{"thread_id":"example"},"body":{}},"maxRequests":1,"summary":false}}