Yandex Cloud
Search
Contact UsGet started
  • Blog
  • Pricing
  • Documentation
  • All Services
  • System Status
    • Featured
    • Infrastructure & Network
    • Data Platform
    • Containers
    • Developer tools
    • Serverless
    • Security
    • Monitoring & Resources
    • ML & AI
    • Business tools
  • All Solutions
    • By industry
    • By use case
    • Economics and Pricing
    • Security
    • Technical Support
    • Customer Stories
    • Gateway to Russia
    • Cloud for Startups
    • Education and Science
  • Blog
  • Pricing
  • Documentation
Yandex project
© 2025 Yandex.Cloud LLC
Yandex Foundation Models
    • Overview
    • API authentication
        • Overview
          • Overview
            • Overview
            • Create
            • Listen
            • Attach
            • Get
            • GetLastByThread
            • List
            • Submit
  • Yandex Cloud ML SDK
  • Compatibility with OpenAI
  • Access management
  • Pricing policy
  • Public materials
  • Release notes

In this article:

  • gRPC request
  • SubmitToRunRequest
  • ToolResultList
  • ToolResult
  • FunctionResult
  • SubmitToRunResponse
  1. API references
  2. AI Assistant API
  3. gRPC
  4. Runs
  5. Run
  6. Submit

Runs, gRPC: RunService.Submit

Written by
Yandex Cloud
Updated at April 24, 2025
  • gRPC request
  • SubmitToRunRequest
  • ToolResultList
  • ToolResult
  • FunctionResult
  • SubmitToRunResponse

Submit event to run
For example, submit function call results when the run is waiting for user input.

gRPC requestgRPC request

rpc Submit (SubmitToRunRequest) returns (SubmitToRunResponse)

SubmitToRunRequestSubmitToRunRequest

{
  "run_id": "string",
  // Includes only one of the fields `tool_result_list`
  "tool_result_list": {
    "tool_results": [
      {
        // Includes only one of the fields `function_result`
        "function_result": {
          "name": "string",
          // Includes only one of the fields `content`
          "content": "string"
          // end of the list of possible fields
        }
        // end of the list of possible fields
      }
    ]
  }
  // end of the list of possible fields
}

Field

Description

run_id

string

Required field. ID of the run to submit to.

tool_result_list

ToolResultList

A list of tool results to submit to the run, such as the output of a function call.

Includes only one of the fields tool_result_list.

Event to submit to the run.

ToolResultListToolResultList

Represents a list of tool results.

Field

Description

tool_results[]

ToolResult

A list of tool results.

ToolResultToolResult

Represents the result of a tool call.

Field

Description

function_result

FunctionResult

Represents the result of a function call.

Includes only one of the fields function_result.

FunctionResultFunctionResult

Represents the result of a function call.

Field

Description

name

string

The name of the function that was executed.

content

string

The result of the function call, represented as a string.
This field can be used to store the output of the function.

Includes only one of the fields content.

SubmitToRunResponseSubmitToRunResponse

{}

Field

Description

Empty

Was the article helpful?

Previous
List
Next
Overview
Yandex project
© 2025 Yandex.Cloud LLC