s&
info
About
info
About s&box
newspaper
Latest News
published_with_changes
Changes
map
Roadmap
monitoring
Metrics
games
Games
sports_esports
Browse Games
explore
Discover Games
category
Workshop
sports_esports
Games
landscape
Maps
view_in_ar
Models
texture
Materials
apparel
Clothing
construction
More..
forum
Forum
menu_book
Learn
docs
Documentation
api
Api Reference
school
Tutorials
manage_search
Code Search
input
Log in with Steam
chevron_left
Change Language
简体中文
English
Русский
Español
Português-Brasil
Deutsch
日本語
Français
Polski
Türkçe
한국어
Pirate
Italiano
ไทย
繁體中文
Українська
Čeština
Nederlands
Magyar
Dansk
Suomi
Svenska
Norsk
Ελληνικά
Română
Български
Tiếng Việt
Bahasa Indonesia
Español-Latinoamérica
العربية
Api
Editor Classes
McpResult
chevron_left
Editor Classes
class
McpResult
Methods
functions
WithImage
functions
WithText
Static Methods
functions
Image
functions
Structured
functions
Text
McpResult
The result of an MCP tool call - one or more content blocks the agent reads. Tools can return plain values and get shaped into a single block automatically, but returning one of these gives full control, like pairing a screenshot with a caption.
class
Editor.Mcp
.
sealed
Sandbox.Tools
functions
Methods
2
WithImage
(
bitmap
)
McpResult
Append a png image block.
WithText
(
value
)
McpResult
Append a text block. Anything that isn't a string gets serialized to json.
functions
Static Methods
3
Image
(
bitmap
)
McpResult
A png image block.
Structured
(
value
)
McpResult
A structured content block - the value as json the client binds against the tool's output schema, paired with the same json as text for clients that don't.
Text
(
value
)
McpResult
A text block. Anything that isn't a string gets serialized to json.
people
Log in to reply
You can't reply if you're not logged in. That would be crazy.