Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/BAAI-Agents/Cradle
/ functions
Functions
1,182 in github.com/BAAI-Agents/Cradle
⨍
Functions
1,182
◇
Types & classes
130
↳
Endpoints
8
Function
entry
(args)
cradle/runner/stardew_runner.py:306
Function
entry
(args)
cradle/runner/dealers_runner.py:290
Function
examine_product
Examines a product on the shelf for a specified duration. Parameters: - duration: The duration for which the "e" key is held down (defa
cradle/environment/rdr2/atomic_skills/buy.py:150
Method
exit_back_to_game
Exit back to game. Args: env_name: Environment name. ide_name: IDE name. Returns:
cradle/environment/ui_control.py:56
Method
exit_back_to_game
(self, env_name: str, ide_name: str)
cradle/environment/rdr2/ui_control.py:83
Method
exit_back_to_game
(self, env_name: str, ide_name: str)
cradle/environment/skylines/ui_control.py:68
Method
exit_back_to_game
(self, env_name: str, ide_name: str)
cradle/environment/software/ui_control.py:34
Method
exit_back_to_game
(self, env_name: str, ide_name: str)
cradle/environment/dealers/ui_control.py:67
Method
exit_back_to_game
(self, env_name: str, ide_name: str)
cradle/environment/stardew/ui_control.py:68
Method
exit_back_to_pause
(self, *args, env_name=config.env_name,
cradle/gameio/game_manager.py:85
Method
exit_back_to_pause
Exit back to pause. Args: env_name: Environment name. ide_name: IDE name. Returns:
cradle/environment/ui_control.py:44
Method
exit_back_to_pause
(self, env_name: str, ide_name: str)
cradle/environment/software/ui_control.py:30
Function
exit_cleanup
(runner)
cradle/runner/rdr2_runner.py:279
Function
exit_cleanup
(runner)
cradle/runner/skylines_runner.py:310
Function
exit_cleanup
(runner)
cradle/runner/stardew_runner.py:301
Function
exit_cleanup
(runner: PipelineRunner)
cradle/runner/app_runner.py:843
Function
exit_cleanup
(runner)
cradle/runner/dealers_runner.py:285
Function
export_project
Export the project. Then go to homepage of CapCut.
cradle/environment/capcut/composite_skills/shortcut.py:63
Function
extract_masked_images
Apply each mask to the original image and resize the image to fit the mask's bounding box, discarding pixels outside the mask. Args:
cradle/utils/image_utils.py:501
Method
extract_text_from_frames
(self, frames: List, return_full: int = 1)
cradle/provider/video/video_ocr_extractor.py:97
Method
extract_text_from_video
(self, video_path: str, return_full: int = 1)
cradle/provider/video/video_ocr_extractor.py:77
Function
fight
Fight agains another person.
cradle/environment/rdr2/atomic_skills/combat.py:61
Function
finish_deal
The function to click on the ok button to finish the deal on the confirmation dialog noticed with "Deal!".
cradle/environment/dealers/atomic_skills/basic_skills.py:74
Function
finish_sold
The function to click on the ok button to finish the selling on the confirmation dialog noticed with "Sold!".
cradle/environment/dealers/atomic_skills/basic_skills.py:83
Function
fl
(c)
docs/js/fontawesome.all.min.js:5
Function
follow
Follow target on the minimap.
cradle/environment/rdr2/composite_skills/follow.py:23
Method
format
(self, record)
cradle/log/logger.py:38
Method
from_dict
(cls, data_dict)
cradle/utils/json_utils.py:248
Method
from_json
(cls: Type[W], s: AnyStr, *, decoder: Any = json.loads, **decoder_kwargs)
cradle/environment/skill.py:67
Method
gather_information_of_new_icon
(self, cur_new_icon_image_shot_path, cur_new_icon_name_image_shot_path)
cradle/planner/rdr2_planner.py:448
Method
gather_information_of_new_icon
(self, cur_new_icon_image_shot_path, cur_new_icon_name_image_shot_path)
cradle/planner/stardew_planner.py:433
Function
gen_relative_project_path
(path)
cradle/utils/file_utils.py:12
Function
getNodeIndex
(node)
docs/js/bulma-carousel.js:1015
Function
getParentWindowHandle
(window_handle)
cradle/utils/os_utils.py:39
Function
getProcessIDByName
(process_name)
cradle/utils/os_utils.py:9
Function
getWindowText
(window_handle)
cradle/utils/os_utils.py:56
Method
get_all_skills
(self)
cradle/gameio/game_manager.py:236
Method
get_all_skills
(self)
cradle/environment/skill_registry.py:523
Function
get_attr
(attr, key, default=None)
cradle/planner/util.py:1
Function
get_completion_in_parallel_tool
( llm_provider, text_input_map, extracted_frame_paths, inventory_names,
cradle/planner/rdr2_planner.py:139
Method
get_current_frame
Get the current frame
cradle/provider/video/video_recorder.py:141
Method
get_display_size
(self)
cradle/gameio/io_env.py:565
Method
get_embedding_dim
Get the embedding dimension.
cradle/provider/llm/openai.py:247
Method
get_embedding_dim
Get the embedding dimensions.
cradle/provider/base/base_embedding.py:16
Method
get_frame_by_frame_id
(self, frame_id)
cradle/provider/video/video_recorder.py:39
Method
get_frames_to_latest
(self, frame_id, before_frame_nums = 5)
cradle/provider/video/video_recorder.py:121
Function
get_information_from_video
Get information from video by ask gpt-4o. Parameters: - event: The event you want to the exact second from video.
cradle/environment/capcut/tool_skills/tools.py:17
Method
get_last_frame
(self)
cradle/provider/video/video_recorder.py:31
Method
get_mouse_position
(self, absolute = False)
cradle/gameio/game_manager.py:220
Function
get_out_of_house
Move the character out of the house. This function automates the action of moving the character out of the house by navigating through the door.
cradle/environment/stardew/composite_skills/farm.py:15
Method
get_recent_history
Query recent info (skill/image/reasoning) from memory.
cradle/memory/local_memory.py:93
Method
get_summarization
(self)
cradle/memory/local_memory.py:119
Method
get_task_guidance
(self, use_last = True)
cradle/memory/local_memory.py:130
Function
give_price
The function to give a price for the item in the deal. The price must be an integer number. Parameters: - price: a price for the item.
cradle/environment/dealers/atomic_skills/basic_skills.py:109
Function
gl
(c)
docs/js/fontawesome.all.min.js:5
Function
go_back
Returns to the upper level by pressing the "esc" key.
cradle/environment/rdr2/atomic_skills/trade_utils.py:52
Function
go_back_to_target_application
This function can be used to return to the target application, if some previous action opened a different application.
cradle/environment/feishu/atomic_skills/interact.py:119
Function
go_back_to_target_application
This function can be used to return to the target application, if some previous action opened a different application.
cradle/environment/chrome/atomic_skills/interact.py:75
Function
go_back_to_target_application
This function can be used to return to the target application, if some previous action opened a different application.
cradle/environment/outlook/atomic_skills/interact.py:111
Function
go_back_to_target_application
This function can be used to return to the target application, if some previous action opened a different application.
cradle/environment/xiuxiu/atomic_skills/interact.py:76
Function
go_to_calendar_view
Go to the calendar view. Useful when you want to navigate to the calendar view from another application view.
cradle/environment/outlook/composite_skills/aug_interact.py:51
Function
go_to_horse
Best way to go to the closest horse. Uses the minimap. Horses are useful to travel mid to long distances.
cradle/environment/rdr2/composite_skills/go_to_icon.py:23
Function
go_to_mail_view
Go to the mail view. Useful when you want to navigate to the mail view from another application view.
cradle/environment/outlook/composite_skills/aug_interact.py:41
Function
go_to_store
Best way to go to the closest horse. Uses the minimap. Horses are useful to travel mid to long distances.
cradle/environment/stardew/composite_skills/shopping.py:44
Function
go_to_timestamp
Go to the specific timestamp in the timeline (in seconds). Parameters: - seconds: The timestamp to reach, in seconds. The default value
cradle/environment/capcut/composite_skills/shortcut.py:34
Function
height
(element)
docs/js/bulma-carousel.js:136
Function
hide
(elements)
docs/js/bulma-carousel.js:116
Function
hide_info
Hides product price and basic information by pressing "f".
cradle/environment/rdr2/atomic_skills/buy.py:101
Function
hl
(c)
docs/js/fontawesome.all.min.js:5
Function
hold_key
Hold the selected key down until a release call happens. Parameters: - key: A keyboard key to be held. For example, hold the 'shift' key
cradle/environment/software/atomic_skills/base.py:119
Function
hover_on_label
Moves the mouse to the position of the specified box id inside the application window, to hover over the UI item without clicking on it. Par
cradle/environment/feishu/composite_skills/aug_interact.py:27
Function
hover_on_label
Moves the mouse to the position of the specified box id inside the application window, to hover over the UI item without clicking on it. Par
cradle/environment/outlook/composite_skills/aug_interact.py:28
Function
ic
(c)
docs/js/fontawesome.all.min.js:5
Function
import_media
Import media into the timeline.
cradle/environment/capcut/composite_skills/shortcut.py:53
Method
information_gathering
gather information for the task :param args: :param kwargs: :return:
cradle/planner/base.py:28
Method
information_gathering
(self, *args, input: Dict[str, Any] = None, **kwargs)
cradle/planner/rdr2_planner.py:823
Method
information_gathering
(self, *args, input: Dict[str, Any] = None, **kwargs)
cradle/planner/stardew_planner.py:941
Method
init_provider
(self, provider_cfg )
cradle/provider/llm/claude.py:77
Method
init_provider
Initialize a provider via a json config.
cradle/provider/base/base_llm.py:38
Method
init_provider
Initialize a provider via a json config.
cradle/provider/base/base_embedding.py:21
Function
isDate
(unknown)
docs/js/bulma-carousel.js:234
Function
isEmptyObject
(unknown)
docs/js/bulma-carousel.js:240
Function
isFunction
(unknown)
docs/js/bulma-carousel.js:225
Function
isInViewport
(element, html)
docs/js/bulma-carousel.js:1491
Function
isNumber
(unknown)
docs/js/bulma-carousel.js:228
Function
isObject
(unknown)
docs/js/bulma-carousel.js:237
Function
isRtl
()
docs/js/bulma-carousel.js:1001
Function
isString
(unknown)
docs/js/bulma-carousel.js:231
Function
isVideo
(unknown)
docs/js/bulma-carousel.js:252
Method
is_env_paused
(self)
cradle/environment/software/ui_control.py:38
Method
is_visible
Check if the target window is visible
cradle/gameio/gui_utils.py:246
Function
jc
()
docs/js/fontawesome.all.min.js:5
Function
l
(t,e)
docs/js/bulma-carousel.min.js:1
Method
list_session_screenshots
(self, session_dir: str = config.work_dir)
cradle/gameio/game_manager.py:224
Method
list_session_screenshots
(self, session_dir: str = config.work_dir)
cradle/gameio/io_env.py:258
Method
load
Load the memory from the local file.
cradle/memory/local_memory.py:141
Method
load
Load the memory from the local file.
cradle/memory/short_term_memory.py:113
Method
load
(self)
cradle/memory/basic_vector_memory.py:114
Method
load_skills
(self, path = None)
cradle/gameio/game_manager.py:232
Method
lower_func_name
(skill_code)
cradle/environment/skill_registry.py:373
← previous
next →
901–1,000 of 1,182, ranked by callers