> ## Documentation Index
> Fetch the complete documentation index at: https://docs.specterops.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Mythic_rpc_file_get_content

> Get file content



## AsyncAPI

````yaml mythic-docs/mythicrpc/mythicrpc-asyncapi.yaml mythic_rpc_file_get_content
id: mythic_rpc_file_get_content
title: Mythic_rpc_file_get_content
description: Get file content
servers:
  - id: development
    protocol: amqp
    host: mythic-rabbitmq:5672
    bindings: []
    variables: []
address: mythic_rpc_file_get_content
parameters: []
bindings: []
operations:
  - &ref_2
    id: sendFileGetContent
    title: Send file get content
    description: Send file get content request
    type: send
    messages:
      - &ref_4
        id: FileGetContentRequest
        contentType: application/json
        payload:
          - name: File Get Content Request
            description: Get file content by UUID
            type: object
            properties:
              - name: agent_file_id
                type: string
                description: UUID of file to retrieve
                required: true
        headers: []
        jsonPayloadSchema:
          type: object
          description: Get file content by UUID
          properties:
            agent_file_id:
              type: string
              format: uuid
              description: UUID of file to retrieve
              x-parser-schema-id: <anonymous-schema-77>
          required:
            - agent_file_id
          x-parser-schema-id: FileGetContentPayload
        title: File Get Content Request
        description: Get file content by UUID
        example: |-
          {
            "agent_file_id": "<string>"
          }
        bindings: []
        extensions:
          - id: x-parser-unique-object-id
            value: FileGetContentRequest
    bindings: []
    extensions: &ref_0
      - id: x-parser-unique-object-id
        value: mythic_rpc_file_get_content
  - &ref_1
    id: receiveFileGetContentResponse
    title: Receive file get content response
    description: Receive file get content response
    type: receive
    messages:
      - &ref_3
        id: FileGetContentResponse
        contentType: application/json
        payload:
          - name: File Get Content Response
            description: Response for file get content operation
            type: object
            properties:
              - name: success
                type: boolean
                description: Operation success status
                required: true
              - name: error
                type: string
                description: Error message if success is false
                required: false
              - name: contents
                type: string
                description: Base64-encoded file contents
                required: false
              - name: filename
                type: string
                description: Original filename
                required: false
        headers: []
        jsonPayloadSchema:
          type: object
          properties:
            success:
              type: boolean
              description: Operation success status
              default: true
              x-parser-schema-id: <anonymous-schema-78>
            error:
              type: string
              description: Error message if success is false
              default: ''
              x-parser-schema-id: <anonymous-schema-79>
            contents:
              type: string
              format: byte
              description: Base64-encoded file contents
              x-parser-schema-id: <anonymous-schema-80>
            filename:
              type: string
              description: Original filename
              x-parser-schema-id: <anonymous-schema-81>
          required:
            - success
          x-parser-schema-id: FileGetContentResponsePayload
        title: File Get Content Response
        description: Response for file get content operation
        example: |-
          {
            "success": true,
            "error": "<string>",
            "contents": "<string>",
            "filename": "<string>"
          }
        bindings: []
        extensions:
          - id: x-parser-unique-object-id
            value: FileGetContentResponse
    bindings: []
    extensions: *ref_0
sendOperations:
  - *ref_1
receiveOperations:
  - *ref_2
sendMessages:
  - *ref_3
receiveMessages:
  - *ref_4
extensions:
  - id: x-parser-unique-object-id
    value: mythic_rpc_file_get_content
securitySchemes: []

````