Unravel Engine C++ Reference
Loading...
Searching...
No Matches
mcp_async.h File Reference
#include "mcp_tool_registry.h"
#include <graphics/frame_buffer.h>
#include <chrono>
#include <context/context.hpp>
#include <filesystem>
#include <functional>
#include <string>
#include <vector>

Go to the source code of this file.

Namespaces

namespace  unravel
 
namespace  unravel::mcp
 

Functions

auto unravel::mcp::wait_for_file (const std::filesystem::path &path, std::chrono::milliseconds timeout, std::chrono::milliseconds poll_interval) -> bool
 
auto unravel::mcp::read_file_bytes (const std::filesystem::path &path, std::string &error) -> std::vector< uint8_t >
 
auto unravel::mcp::encode_base64 (const std::vector< uint8_t > &bytes) -> std::string
 
auto unravel::mcp::make_temp_screenshot_stem (const std::string &tag) -> std::filesystem::path
 
auto unravel::mcp::capture_fbo_screenshot (mcp_manager &mcp, rtti::context &ctx, const std::function< gfx::frame_buffer::ptr(rtti::context &)> &resolve_fbo, const std::string &tag, std::chrono::milliseconds wait_timeout) -> tool_result